10 #ifndef __SYSTEMTNSE2D_ALE__
11 #define __SYSTEMTNSE2D_ALE__
13 #include <SystemTNSE2D.h>
23 double *
MeshVelo, *gridpos, *gridpos_old, *gridpos_ref, *griddisp, *GridRhs, *Entries[4];
55 BoundValueFunct2D *GridBoundValues[1];
64 bool SolveLinearElastic, CONSERVATIVEALE, NeedInterMassMat;
70 TFEFunction2D *p,
double *sol,
double *rhs,
int disctype,
int nsetype,
int solver,
81 void Init(CoeffFct2D *lincoeffs, BoundCondFunct2D *BoundCond, BoundValueFunct2D *U1BoundValue, BoundValueFunct2D *U2BoundValue,
82 CoeffFct2D *GridBilinearCoeffs, BoundCondFunct2D *GridBoundCond, BoundValueFunct2D *gridBoundValue,
TAuxParam2D *aux,
TAuxParam2D *nseaux_error);
85 void AddMeshModifyFunction(ModifyMeshCoords *modifyCoord)
86 {
ModifyCoord = modifyCoord; SolveLinearElastic = FALSE; }
88 void AddBoundModifyFunction(ModifyBoundCoords *modifyboudary)
92 void Assemble(
double *sol,
double *rhs);
106 double * Iso_refX,
double Currtime,
double tau);
115 void AssembleSystMat(
double scale,
double *oldrhs,
double *rhs,
double *sol);
127 void Solve(
double *sol);
int N_GridDOFs
Definition: SystemTNSE2D_ALE.h:20
TDiscreteForm2D * DiscreteFormMARhs
Definition: SystemTNSE2D_ALE.h:38
stores the information of a 2D TNSE system matrix
Definition: SystemTNSE2D_ALE.h:16
void AssembleANonLinear(double *sol, double *rhs)
Definition: SystemTNSE2D_ALE.C:759
TFEVectFunct2D * GridPos
Definition: SystemTNSE2D_ALE.h:32
TSquareMatrix2D * SqmatrixG11
Definition: SystemTNSE2D_ALE.h:45
Definition: SquareMatrix2D.h:20
void GetMeshVeloAndMove(int N_MovVert, TVertex **MovBoundVert, TIsoBoundEdge **Free_Joint, double *Iso_refX, double Currtime, double tau)
Definition: SystemTNSE2D_ALE.C:495
BoundValueFunct2D * GridBoundValue[1]
Definition: SystemTNSE2D_ALE.h:29
Definition: IsoBoundEdge.h:18
TFEFunction2D * MeshVeloFct[2]
Definition: SystemTNSE2D_ALE.h:35
Definition: AuxParam2D.h:22
TAuxParam2D * Aux_ALE
Definition: SystemTNSE2D_ALE.h:51
Definition: FESpace2D.h:28
void GetTNSEResidual(double *sol, double *res)
Definition: SystemTNSE2D_ALE.C:963
void AssembleSystMat(double scale, double *oldrhs, double *rhs, double *sol)
Definition: SystemTNSE2D_ALE.C:585
BoundCondFunct2D * GridBoundaryConditions[1]
Definition: SystemTNSE2D_ALE.h:54
stores the information of a 2D TNSE system matrix
Definition: SystemTNSE2D.h:16
void RestoreMassMat()
Definition: SystemTNSE2D_ALE.C:721
TSquareStructure2D * SquareStructureG
Definition: SystemTNSE2D_ALE.h:48
double * MeshVelo
Definition: SystemTNSE2D_ALE.h:23
void Init(CoeffFct2D *lincoeffs, BoundCondFunct2D *BoundCond, BoundValueFunct2D *U1BoundValue, BoundValueFunct2D *U2BoundValue, CoeffFct2D *GridBilinearCoeffs, BoundCondFunct2D *GridBoundCond, BoundValueFunct2D *gridBoundValue, TAuxParam2D *aux, TAuxParam2D *nseaux_error)
Definition: SystemTNSE2D_ALE.C:120
Definition: FEVectFunct2D.h:23
TFESpace2D * GridFESpace
Definition: SystemTNSE2D_ALE.h:26
void AssembleSystMatNonLinear()
Definition: SystemTNSE2D_ALE.C:686
void AssembleMeshMat()
Definition: SystemTNSE2D_ALE.C:556
TSystemTNSE2D_ALE(TFESpace2D *velocity_fespace, TFESpace2D *presssure_fespace, TFEVectFunct2D *Velocity, TFEFunction2D *p, double *sol, double *rhs, int disctype, int nsetype, int solver,#ifdef __PRIVATE__ TFESpace2D *Projection_space, TFESpace2D *Stress_FeSpace, TFESpace2D *Deformation_FeSpace,#endif TFESpace2D *gridFESpace, TFEVectFunct2D *MeshVelocity, bool conservativeale)
source file for TSystemTNSE2D_ALE
Definition: SystemTNSE2D_ALE.C:30
Definition: SquareStructure2D.h:20
ModifyBoundCoords * ModifyBoudary
Definition: SystemTNSE2D_ALE.h:61
ModifyMeshCoords * ModifyCoord
Definition: SystemTNSE2D_ALE.h:58
void Solve(double *sol)
Definition: SystemTNSE2D_ALE.C:909
void Assemble(double *sol, double *rhs)
Definition: SystemTNSE2D_ALE.C:238
Definition: FEFunction2D.h:24