typedef Matrix < SC, LO, GO, NO > Matrix_Type
typedef Teuchos::RCP< Matrix_Type > MatrixPtr_Type
typedef SmallMatrix < SC > SmallMatrix_Type
typedef Teuchos::RCP< SmallMatrix_Type > SmallMatrixPtr_Type
typedef MultiVector < SC, LO, GO, NO > MultiVector_Type
typedef Teuchos::RCP< MultiVector_Type > MultiVectorPtr_Type
typedef AssembleFE < SC, LO, GO, NO > AssembleFE_Type
typedef SmallMatrix < default_sc > SmallMatrix_Type
typedef Teuchos::RCP< SmallMatrix_Type > SmallMatrixPtr_Type
typedef AssembleFE < default_sc, default_lo, default_go, default_no > AssembleFE_Type
void assembleJacobian () override
Assemble the element Jacobian matrix.
void assembleRHS () override
Assemble the element right hand side vector.
void assembleJacobianBlock (LO i) override
Assemble the element Jacobian matrix.
void setCoeff (SmallMatrix_Type coeff)
void assembleFixedPoint ()
Assembly of FixedPoint- Matrix (System Matrix K with current u)
SmallMatrixPtr_Type getFixedPointMatrix ()
SmallMatrixPtr_Type getJacobian ()
Get the currently assembled element Jacobian matrix.
SmallMatrixPtr_Type getJacobianBlock (default_lo i)
Get the currently assembled element Jacobian matrix.
vec_dbl_ptr_Type getRHS ()
Get the currently assembled right hand side vector.
virtual void checkParameters ()
Check the input parameters from the constructor and the ParameterList for completeness and consistency.
virtual void updateParams (ParameterListPtr_Type params)
Set or update the parameters read from the ParameterList.
virtual void updateParameter (std::string type, double value)
Update the parameter read from the ParameterList.
virtual void advanceInTime (double dt)
This function is called every time the FEDDLib proceeds from one to the next time step. The size of the time step will always be provided as input.
double getTimeStep ()
Get the time state of the object.
void advanceNewtonStep ()
This function is called every time the FEDDLib proceeds from one to the next newton step. The size of the time step will always be provided as input.
int getNewtonStep ()
Get the time state of the object.
void updateSolution (vec_dbl_Type solution)
Update the solution vector.
vec_dbl_ptr_Type getSolution ()
Get the current local solution vector.
void preProcessing ()
This function is called in the beginning of each Newton step before actually assmblying anything.
void postProcessing ()
This function is called at the end of each Newton step after updating the solution vector.
int getDim ()
Get the spatial dimension. (Typically 2 or 3)
vec2D_dbl_Type getNodesRefConfig ()
Return the coordnates of the finite element nodes.
void addRHSFunc (RhsFunc_Type rhsFunc)
tuple_sd_vec_ptr_Type getTupleElement ()
Return vector of tupled with element based values. First column per tuple string with description, second column with corresponding value.
double getTimeIncrement ()
Returns the time increment. Required by AceGen implementation.
void setGlobalElementID (default_go goID)
default_go getGlobalElementID ()
virtual void computeLocalconstOutputField ()
E.g. In case of non-newtonian fluids the viscosity is not constant - Compute the viscosity for an element depending on the known velocity solution.
vec_dbl_Type getLocalconstOutputField ()
Obtain value of resulting postprocessing field at nodes/ inside an element.
AssembleFENavierStokes (int flag, vec2D_dbl_Type nodesRefConfig, ParameterListPtr_Type parameters, tuple_disk_vec_ptr_Type tuple)
Constructor for AssembleFEAceNavierStokes.
void assemblyLaplacian (SmallMatrixPtr_Type &elementMatrix)
Assembly function for vector values laplacian .
void assemblyAdvection (SmallMatrixPtr_Type &elementMatrix)
Assembly advection vector field .
void assemblyAdvectionInU (SmallMatrixPtr_Type &elementMatrix)
Assembly advection vector field in u
TODO: [JK] What is this? Is this the portion that needs to be added for Newton's method? Basically: A+N+W, A:Laplace , N is assemblyAdvection and W is assemblyAdvectionInU?
void assemblyDivAndDivT (SmallMatrixPtr_Type &elementMatrix)
Assembly / .
void buildTransformation (SmallMatrix < SC > &B)
Building Transformation.
void applyBTinv (vec3D_dbl_ptr_Type &dPhiIn, vec3D_dbl_Type &dPhiOut, SmallMatrix < SC > &Binv)
AssembleFE (int flag, vec2D_dbl_Type nodesRefConfig, ParameterListPtr_Type parameters, tuple_disk_vec_ptr_Type tuple)
Constructor.
template<class SC, class LO, class GO, class NO>
FEDD::AssembleFENavierStokes < SC, LO, GO, NO >::AssembleFENavierStokes
(
int flag ,
vec2D_dbl_Type nodesRefConfig ,
ParameterListPtr_Type parameters ,
tuple_disk_vec_ptr_Type tuple )
protected
Constructor for AssembleFEAceNavierStokes.
Parameters
[in] flag Flag of element
[in] nodesRefConfig Nodes of element in reference configuration
[in] params Parameterlist for current problem
[in] tuple vector of element information tuples.
Tupel construction follows follwing pattern: string: Physical Entity (i.e. Velocity) , string: Discretisation (i.e. "P2"), int: Degrees of Freedom per Node, int: Number of Nodes per element)