|
| v0.14.0
|
Fluid pressure forces.
More...
#include <users_modules/basic_finite_elements/src/FluidPressure.hpp>
Fluid pressure forces.
- Todo:
- Implementation for large displacements
- Examples
- elasticity.cpp, and nonlinear_dynamics.cpp.
Definition at line 20 of file FluidPressure.hpp.
◆ MeshSetId
◆ FluidPressure()
◆ addNeumannFluidPressureBCElements()
MoFEMErrorCode FluidPressure::addNeumannFluidPressureBCElements |
( |
const std::string |
field_name, |
|
|
const std::string |
mesh_nodals_positions = "MESH_NODE_POSITIONS" |
|
) |
| |
Definition at line 67 of file FluidPressure.cpp.
80 mesh_nodals_positions);
88 if (
bit->getName().compare(0, 14,
"FLUID_PRESSURE") == 0) {
91 std::vector<double> attributes;
93 if (attributes.size() < 7) {
94 SETERRQ1(PETSC_COMM_SELF, 1,
95 "not enough block attributes to deffine fluid pressure "
96 "element, attributes.size() = %d ",
116 Range tets_skin_tris;
117 CHKERR skin.find_skin(0, tets,
false, tets_skin_tris);
119 std::ostringstream ss;
124 setOfFluids[
bit->getMeshsetId()].tRis, MBTRI,
"FLUID_PRESSURE_FE");
◆ getLoopFe()
◆ setNeumannFluidPressureFiniteElementOperators()
MoFEMErrorCode FluidPressure::setNeumannFluidPressureFiniteElementOperators |
( |
string |
field_name, |
|
|
Vec |
F, |
|
|
bool |
allow_negative_pressure = true , |
|
|
bool |
ho_geometry = false |
|
) |
| |
Definition at line 131 of file FluidPressure.cpp.
134 std::map<MeshSetId, FluidData>::iterator sit =
setOfFluids.begin();
139 allow_negative_pressure, ho_geometry));
◆ fe
◆ methodsOp
◆ mField
◆ setOfFluids
The documentation for this struct was generated from the following files:
boost::ptr_vector< MethodForForceScaling > methodsOp
virtual MPI_Comm & get_comm() const =0
virtual MoFEMErrorCode modify_finite_element_add_field_row(const std::string &fe_name, const std::string name_row)=0
set field row which finite element use
virtual MoFEMErrorCode add_ents_to_finite_element_by_type(const EntityHandle entities, const EntityType type, const std::string &name, const bool recursive=true)=0
add entities to finite element
#define CHKERR
Inline error check.
virtual MoFEMErrorCode add_finite_element(const std::string &fe_name, enum MoFEMTypes bh=MF_EXCL, int verb=DEFAULT_VERBOSITY)=0
add finite element
virtual moab::Interface & get_moab()=0
std::map< MeshSetId, FluidData > setOfFluids
virtual MoFEMErrorCode modify_finite_element_add_field_col(const std::string &fe_name, const std::string name_row)=0
set field col which finite element use
MoFEM::Interface & mField
virtual bool check_field(const std::string &name) const =0
check if field is in database
virtual MoFEMErrorCode modify_finite_element_add_field_data(const std::string &fe_name, const std::string name_field)=0
set finite element field data
constexpr auto field_name
#define _IT_CUBITMESHSETS_BY_SET_TYPE_FOR_LOOP_(MESHSET_MANAGER, CUBITBCTYPE, IT)
Iterator that loops over a specific Cubit MeshSet having a particular BC meshset in a moFEM field.
boost::ptr_deque< UserDataOperator > & getOpPtrVector()
Use to push back operator for row operator.
#define MoFEMFunctionReturn(a)
Last executable line of each PETSc function used for error handling. Replaces return()
#define MoFEMFunctionBegin
First executable line of each MoFEM function, used for error handling. Final line of MoFEM functions ...