|
IBAMR
IBAMR version 0.19.
|
Class CFGiesekusStrategy is a concrete CFStrategy that computes the relaxation function for the Giesekus fluid model. More...
#include <ibamr/CFGiesekusStrategy.h>

Public Member Functions | |
| CFGiesekusStrategy (std::string object_name, SAMRAI::tbox::Pointer< SAMRAI::tbox::Database > input_db) | |
| This constructor reads in the parameters for the model from the input database. More... | |
| void | computeRelaxation (int R_idx, SAMRAI::tbox::Pointer< SAMRAI::pdat::CellVariable< NDIM, double > > R_var, int C_idx, SAMRAI::tbox::Pointer< SAMRAI::pdat::CellVariable< NDIM, double > > C_var, TensorEvolutionType evolve_type, SAMRAI::tbox::Pointer< SAMRAI::hier::PatchHierarchy< NDIM > > hierarchy, double data_time) override |
| Compute the action of the relaxation operator, given the conformation tensor. More... | |
| void | computeStress (int sig_idx, SAMRAI::tbox::Pointer< SAMRAI::pdat::CellVariable< NDIM, double > > sig_var, SAMRAI::tbox::Pointer< SAMRAI::hier::PatchHierarchy< NDIM > > hierarchy, double data_time) override |
| Convert the conformation tensor to the stress tensor. More... | |
Private Attributes | |
| double | d_alpha = std::numeric_limits<double>::quiet_NaN() |
| double | d_relaxation_time = std::numeric_limits<double>::quiet_NaN() |
| double | d_viscosity = std::numeric_limits<double>::quiet_NaN() |
| std::string | d_object_name |
The input database is searched for the following parameters:
relaxation_time: Relaxation time of fluid alpha: Nonlinear parameter viscosity: Polymeric contribution to the viscosity | IBAMR::CFGiesekusStrategy::CFGiesekusStrategy | ( | std::string | object_name, |
| SAMRAI::tbox::Pointer< SAMRAI::tbox::Database > | input_db | ||
| ) |
|
overridevirtual |
The parameter evolve_type determines the form of the tensor provided in C_idx. A helper function to convert from the data stored in C_idx to the conformation tensor is provided by convert_to_conformation_tensor.
The symmetric tensor in patch data index C_idx is stored using Voigt notation.
Implements IBAMR::CFStrategy.
|
overridevirtual |
This conversion should be done in-place. The conformation tensor is provided in the patch index sig_idx with ghost cells filled. Implementations of this function MUST provide correct ghost cell information in sig_idx.
Implements IBAMR::CFStrategy.
|
private |
|
privateinherited |
1.8.17