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

Public Member Functions | |
| CFRoliePolyStrategy (const 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_lambda_d = std::numeric_limits<double>::quiet_NaN() |
| double | d_lambda_R = std::numeric_limits<double>::quiet_NaN() |
| double | d_beta = std::numeric_limits<double>::quiet_NaN() |
| double | d_delta = 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:
lambda_d: Reptation time lambda_R: Rouse time beta: CCR coefficient delta viscosity: Polymeric contribution to the viscosity We let the reptation time lambda_d be the relaxation time used to convert the conformation tensor to the stress tensor.
| IBAMR::CFRoliePolyStrategy::CFRoliePolyStrategy | ( | const 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.
|
privateinherited |
1.8.17