Go to the documentation of this file.
14 #include "fvOptions.H"
15 #include "surfaceFields.H"
22 #include "mixedFvPatchFields.H"
23 #include "fixedGradientFvPatchField.H"
106 scalarList& stateList,
107 scalarList& stateBoundaryList)
const;
111 const scalarList& stateList,
112 const scalarList& stateBounaryList,
113 const label oldTimeLevel)
const;
void list2OFField(const scalarList &stateList, const scalarList &stateBounaryList, const label oldTimeLevel) const
assign the fields in OpenFOAM based on the scalar list of states
const DAIndex & daIndex_
DAIndex object.
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
DAOption daOption(mesh, pyOptions_)
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
void resetOFSeeds()
reset the seeds for both state and mesh variables in OpenFOAM by setting their gradient() to zeros
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 ofField2List(scalarList &stateList, scalarList &stateBoundaryList) const
set the scalar list of states based on the latest fields in OpenFOAM
void stateVec2OFField(const Vec stateVec) const
assign the fields in OpenFOAM based on the state vector
void resVec2OFResField(const Vec resVec) const
assign the residual field in OpenFOAM based on the residual vector
void ofResField2ResVec(Vec resVec) const
assign the residual vector based on the residual field in OpenFOAM
DAModel daModel(mesh, daOption)
void pointVec2OFMesh(const Vec xvVec) const
assign the points in fvMesh of OpenFOAM based on the point vector
DAIndex daIndex(mesh, daOption, daModel)
virtual ~DAField()
Destructor.
void specialBCTreatment()
apply special treatment for boundary conditions
HashTable< wordList > stateInfo_
the StateInfo_ list from DAStateInfo object