Go to the documentation of this file.
14 #include "fvOptions.H"
15 #include "surfaceFields.H"
22 #include "mixedFvPatchFields.H"
23 #include "fixedGradientFvPatchField.H"
const DAIndex & daIndex_
DAIndex object.
void ofField2State(scalar *states) const
assign the openfoam fields to the states array
void setPrimalBoundaryConditions(const label printInfo=1)
set the boundary conditions based on parameters defined in DAOption
void state2OFField(const scalar *states) const
assign the fields in OpenFOAM based on the state array
wordList specialBCs
a list that contains the names of detected special boundary conditions
void checkSpecialBCs()
check if we need to do special treatment for boundary conditions
const DAModel & daModel_
DAModel object.
const fvMesh & mesh_
Foam::fvMesh object.
void ofField2StateVec(Vec stateVec) const
set the state vector based on the latest fields in OpenFOAM
void ofMesh2PointVec(Vec xvVec) const
assign the point vector based on the points in fvMesh of OpenFOAM
void point2OFMesh(const scalar *volCoords) const
assign the points in fvMesh of OpenFOAM based on the point array
const DAOption & daOption_
Foam::DAOption object.
void stateVec2OFField(const Vec stateVec) const
assign the fields in OpenFOAM based on the state vector
void ofResField2ResVec(Vec resVec) const
assign the residual vector based on the residual field in OpenFOAM
virtual ~DAField()
Destructor.
void specialBCTreatment()
apply special treatment for boundary conditions
HashTable< wordList > stateInfo_
the StateInfo_ list from DAStateInfo object