48#define _IFT_StokesFlow_Name "stokesflow"
49#define _IFT_StokesFlow_deltat "deltat"
53class SparseNonLinearSystemNM;
54class MeshQualityErrorEstimator;
73 std :: unique_ptr< SparseNonLinearSystemNM >
nMethod;
int forceEquationNumbering() override
FluidModel(int i, EngngModel *master)
void initializeFrom(InputRecord &ir) override
FloatArray eNorm
Element norm for nonlinear analysis (squared).
void solveYourselfAt(TimeStep *tStep) override
void updateSolution(FloatArray &solutionVector, TimeStep *tStep, Domain *d) override
TopologyState ts
Topology state, most notably used for determining if there is a need to remesh.
void updateMatrix(SparseMtrx &mat, TimeStep *tStep, Domain *d) override
std ::unique_ptr< SparseMtrx > stiffnessMatrix
double deltaT
Time increment read from input record.
bool newDofHandling() override
LinSystSolverType solverType
Linear solver type.
SparseMtrxType sparseMtrxType
Sparse matrix type.
void updateInternalState(TimeStep *tStep)
StokesFlow(int i, EngngModel *_master=nullptr)
int checkConsistency() override
const char * giveInputRecordName() const
void updateYourself(TimeStep *tStep) override
std ::unique_ptr< MeshQualityErrorEstimator > meshqualityee
Used for determining if a new mesh must be created.
void updateInternalRHS(FloatArray &answer, TimeStep *tStep, Domain *d, FloatArray *eNorm) override
NumericalMethod * giveNumericalMethod(MetaStep *mStep) override
Returns reference to receiver's numerical method.
double giveReynoldsNumber() override
FloatArray internalForces
double maxdef
Maximum deformation allowed.
std ::unique_ptr< SparseNonLinearSystemNM > nMethod
Numerical method.
std ::unique_ptr< PrimaryField > velocityPressureField
Primary unknowns.
const char * giveClassName() const override
Returns class name of the receiver.
double giveUnknownComponent(ValueModeType mode, TimeStep *tStep, Domain *domain, Dof *dof) override
void updateComponent(TimeStep *tStep, NumericalCmpn cmpn, Domain *d) override
void doStepOutput(TimeStep *tStep) override
TimeStep * giveNextStep() override
Returns next time step (next to current step) of receiver.
FloatArray solutionVector
#define _IFT_StokesFlow_Name