Class SetFluidProperties is a utility class which sets the fluid and solid Eulerian density based on the current level set information.
#include <ibamr/vc_ins_utilities.h>
|
| | SetFluidProperties (const std::string &object_name, SAMRAI::tbox::Pointer< IBAMR::AdvDiffHierarchyIntegrator > adv_diff_solver, SAMRAI::tbox::Pointer< SAMRAI::pdat::CellVariable< NDIM, double > > ls_var, const double rho_liquid, const double rho_gas, const double mu_liquid, const double mu_gas, const double num_interface_cells) |
| |
| | SetFluidProperties (const std::string &object_name, SAMRAI::tbox::Pointer< IBAMR::AdvDiffHierarchyIntegrator > adv_diff_solver, SAMRAI::tbox::Pointer< SAMRAI::pdat::CellVariable< NDIM, double > > ls_gas_var, SAMRAI::tbox::Pointer< SAMRAI::pdat::CellVariable< NDIM, double > > ls_solid_var, const double rho_liquid, const double rho_gas, const double rho_solid, const double mu_fluid, const double mu_gas, const double mu_solid, const double num_gas_interface_cells, const double num_solid_interface_cells, const bool set_mu_solid) |
| |
| | ~SetFluidProperties ()=default |
| |
| void | setDensityPatchData (int rho_idx, SAMRAI::tbox::Pointer< SAMRAI::hier::Variable< NDIM > > rho_var, SAMRAI::tbox::Pointer< IBTK::HierarchyMathOps > hier_math_ops, const int cycle_num, const double time, const double current_time, const double new_time) |
| |
| void | setViscosityPatchData (int mu_idx, SAMRAI::tbox::Pointer< SAMRAI::hier::Variable< NDIM > > mu_var, SAMRAI::tbox::Pointer< IBTK::HierarchyMathOps > hier_math_ops, const int cycle_num, const double time, const double current_time, const double new_time) |
| |
|
| | SetFluidProperties () |
| |
| SetFluidProperties & | operator= (const SetFluidProperties &that) |
| |
| | SetFluidProperties (const SetFluidProperties &from) |
| |
| void | setDensityPatchData2PhaseFlows (int rho_idx, SAMRAI::tbox::Pointer< SAMRAI::hier::Variable< NDIM > > rho_var, SAMRAI::tbox::Pointer< IBTK::HierarchyMathOps > hier_math_ops, const int cycle_num, const double time, const double current_time, const double new_time) |
| |
| void | setDensityPatchData3PhaseFlows (int rho_idx, SAMRAI::tbox::Pointer< SAMRAI::hier::Variable< NDIM > > rho_var, SAMRAI::tbox::Pointer< IBTK::HierarchyMathOps > hier_math_ops, const int cycle_num, const double time, const double current_time, const double new_time) |
| |
| void | setViscosityPatchData2PhaseFlows (int mu_idx, SAMRAI::tbox::Pointer< SAMRAI::hier::Variable< NDIM > > mu_var, SAMRAI::tbox::Pointer< IBTK::HierarchyMathOps > hier_math_ops, const int cycle_num, const double time, const double current_time, const double new_time) |
| |
| void | setViscosityPatchData3PhaseFlows (int mu_idx, SAMRAI::tbox::Pointer< SAMRAI::hier::Variable< NDIM > > mu_var, SAMRAI::tbox::Pointer< IBTK::HierarchyMathOps > hier_math_ops, const int cycle_num, const double time, const double current_time, const double new_time) |
| |
◆ SetFluidProperties() [1/4]
Constructor for this class.
num_interface_cells - number of cells over which the Heaviside function is smoothed on either side of the interface.
◆ SetFluidProperties() [2/4]
| IBAMR::VCINSUtilities::SetFluidProperties::SetFluidProperties |
( |
const std::string & |
object_name, |
|
|
SAMRAI::tbox::Pointer< IBAMR::AdvDiffHierarchyIntegrator > |
adv_diff_solver, |
|
|
SAMRAI::tbox::Pointer< SAMRAI::pdat::CellVariable< NDIM, double > > |
ls_gas_var, |
|
|
SAMRAI::tbox::Pointer< SAMRAI::pdat::CellVariable< NDIM, double > > |
ls_solid_var, |
|
|
const double |
rho_liquid, |
|
|
const double |
rho_gas, |
|
|
const double |
rho_solid, |
|
|
const double |
mu_fluid, |
|
|
const double |
mu_gas, |
|
|
const double |
mu_solid, |
|
|
const double |
num_gas_interface_cells, |
|
|
const double |
num_solid_interface_cells, |
|
|
const bool |
set_mu_solid |
|
) |
| |
Constructor for this class.
num_gas_interface_cells - number of cells over which the Heaviside function is smoothed on either side of the gas interface.
num_solid_interface_cells - number of cells over which the Heaviside function is smoothed on either side of the solid interface.
set_mu_solid - If it is true, then visocity is set in the entire domain. If it is false, the viscosity is set in the fluid and gas phases but not the solid.
◆ ~SetFluidProperties()
| IBAMR::VCINSUtilities::SetFluidProperties::~SetFluidProperties |
( |
| ) |
|
|
default |
Destructor for this class.
◆ SetFluidProperties() [3/4]
| IBAMR::VCINSUtilities::SetFluidProperties::SetFluidProperties |
( |
| ) |
|
|
private |
Default constructor is not implemented and should not be used.
◆ SetFluidProperties() [4/4]
| IBAMR::VCINSUtilities::SetFluidProperties::SetFluidProperties |
( |
const SetFluidProperties & |
from | ) |
|
|
private |
Default copy constructor is not implemented and should not be used.
◆ setDensityPatchData()
Set the density based on the current level set information.
◆ setViscosityPatchData()
Set the viscosity based on the current level set information.
◆ operator=()
Default assignment operator is not implemented and should not be used.
◆ setDensityPatchData2PhaseFlows()
Set the density based on the current level set information for two-phase flows.
◆ setDensityPatchData3PhaseFlows()
Set the density based on the current level set information for three-phase flows.
◆ setViscosityPatchData2PhaseFlows()
Set the viscosity based on the current level set information for two-phase flows.
◆ setViscosityPatchData3PhaseFlows()
Set the viscosity based on the current level set information for three-phase flows.
◆ d_object_name
| std::string IBAMR::VCINSUtilities::SetFluidProperties::d_object_name |
|
private |
◆ d_adv_diff_solver
Pointer to advection-diffusion solver.
◆ d_ls_gas_var
◆ d_ls_solid_var
◆ d_rho_liquid
| double IBAMR::VCINSUtilities::SetFluidProperties::d_rho_liquid |
|
private |
◆ d_rho_gas
| double IBAMR::VCINSUtilities::SetFluidProperties::d_rho_gas |
|
private |
◆ d_rho_solid
| double IBAMR::VCINSUtilities::SetFluidProperties::d_rho_solid |
|
private |
◆ d_mu_liquid
| double IBAMR::VCINSUtilities::SetFluidProperties::d_mu_liquid |
|
private |
◆ d_mu_gas
| double IBAMR::VCINSUtilities::SetFluidProperties::d_mu_gas |
|
private |
◆ d_mu_solid
| double IBAMR::VCINSUtilities::SetFluidProperties::d_mu_solid |
|
private |
◆ d_num_gas_interface_cells
| double IBAMR::VCINSUtilities::SetFluidProperties::d_num_gas_interface_cells |
|
private |
Number of interface cells over which to smooth the material properties.
◆ d_num_solid_interface_cells
| double IBAMR::VCINSUtilities::SetFluidProperties::d_num_solid_interface_cells |
|
private |
◆ d_set_mu_solid
| bool IBAMR::VCINSUtilities::SetFluidProperties::d_set_mu_solid |
|
private |
Whether or not to set viscosity in the solid region.
◆ d_num_phases
| int IBAMR::VCINSUtilities::SetFluidProperties::d_num_phases = 2 |
|
private |
Number of phases. Valid options are 2 and 3.
The documentation for this class was generated from the following file: