|
| v0.14.0
|
Go to the documentation of this file.
12 #ifndef __FLUID_PRESSURE_HPP
13 #define __FLUID_PRESSURE_HPP
46 friend std::ostream &
operator<<(std::ostream &os,
58 boost::ptr_vector<MethodForForceScaling> &
methodsOp;
63 boost::ptr_vector<MethodForForceScaling> &methods_op,
64 bool allow_negative_pressure,
bool ho_geometry)
80 const std::string mesh_nodals_positions =
"MESH_NODE_POSITIONS");
84 bool ho_geometry =
false);
89 #endif //__FLUID_PRESSSURE_HPP
boost::ptr_vector< MethodForForceScaling > methodsOp
#define MoFEMFunctionReturnHot(a)
Last executable line of each PETSc function used for error handling. Replaces return()
MoFEMErrorCode addNeumannFluidPressureBCElements(const std::string field_name, const std::string mesh_nodals_positions="MESH_NODE_POSITIONS")
double dEnsity
fluid density [kg/m^2] or any consistent unit
PetscErrorCode MoFEMErrorCode
MoFEM/PETSc error code.
Range tRis
range of surface element to which fluid pressure is applied
Deprecated interface functions.
std::map< MeshSetId, FluidData > setOfFluids
implementation of Data Operators for Forces and Sources
default operator for TRI element
MoFEM::Interface & mField
bool allowNegativePressure
allows for negative pressures
VectorDouble zEroPressure
fluid level of reference zero pressure.
FluidPressure(MoFEM::Interface &m_field)
friend std::ostream & operator<<(std::ostream &os, const FluidPressure::FluidData &e)
boost::ptr_vector< MethodForForceScaling > & methodsOp
MoFEMErrorCode doWork(int side, EntityType type, EntitiesFieldData::EntData &data)
EntitiesFieldData::EntData EntData
constexpr auto field_name
std::ostream & operator<<(std::ostream &os, const FluidPressure::FluidData &e)
MyTriangleFE & getLoopFe()
MoFEMErrorCode setNeumannFluidPressureFiniteElementOperators(string field_name, Vec F, bool allow_negative_pressure=true, bool ho_geometry=false)
VectorDouble aCCeleration
acceleration [m/s^2]
const FTensor::Tensor2< T, Dim, Dim > Vec
MoFEMErrorCode preProcess()
function is run at the beginning of loop
UBlasVector< double > VectorDouble
MyTriangleFE(MoFEM::Interface &m_field)
#define MoFEMFunctionBeginHot
First executable line of each MoFEM function, used for error handling. Final line of MoFEM functions ...
OpCalculatePressure(const std::string field_name, Vec _F, FluidData &data, boost::ptr_vector< MethodForForceScaling > &methods_op, bool allow_negative_pressure, bool ho_geometry)
@ OPROW
operator doWork function is executed on FE rows