|
Nektar++
|
#include <VelocityCorrectionSchemeLevelSet.h>
Static Public Member Functions | |
| static SolverUtils::EquationSystemSharedPtr | create (const LibUtilities::SessionReaderSharedPtr &pSession, const SpatialDomains::MeshGraphSharedPtr &pGraph) |
| Creates an instance of this class. | |
Static Public Member Functions inherited from Nektar::VelocityCorrectionScheme | |
| static SolverUtils::EquationSystemSharedPtr | create (const LibUtilities::SessionReaderSharedPtr &pSession, const SpatialDomains::MeshGraphSharedPtr &pGraph) |
| Creates an instance of this class. | |
| static EquationSystemSharedPtr | create (const LibUtilities::SessionReaderSharedPtr &pSession, const SpatialDomains::MeshGraphSharedPtr &pGraph) |
| Creates an instance of this class. | |
Static Public Attributes | |
| static std::string | className |
| Name of class. | |
Static Public Attributes inherited from Nektar::VelocityCorrectionScheme | |
| static std::string | className |
| Name of class. | |
Static Public Attributes inherited from Nektar::SolverUtils::UnsteadySystem | |
| static std::string | cmdSetStartTime |
| static std::string | cmdSetStartChkNum |
Protected Member Functions | |
| VCSLevelSet (const LibUtilities::SessionReaderSharedPtr &pSession, const SpatialDomains::MeshGraphSharedPtr &pGraph) | |
| ~VCSLevelSet () override=default | |
| void | v_InitObject (bool DeclareField=true) override |
| Initialisation object for EquationSystem. | |
| void | v_GenerateSummary (SolverUtils::SummaryList &s) override |
| Print a summary of time stepping parameters. | |
| void | v_SolveUnsteadyStokesSystem (const Array< OneD, const Array< OneD, NekDouble > > &inarray, Array< OneD, Array< OneD, NekDouble > > &outarray, const NekDouble time, const NekDouble a_iixDt) override |
| void | SetUpLevelSetForcing (const Array< OneD, NekDouble > &fields, Array< OneD, NekDouble > &Forcing, const NekDouble aii_Dt) |
| void | v_SetUpPressureForcing (const Array< OneD, const Array< OneD, NekDouble > > &fields, Array< OneD, Array< OneD, NekDouble > > &Forcing, const NekDouble aii_Dt) override |
| void | v_SetUpViscousForcing (const Array< OneD, const Array< OneD, NekDouble > > &inarray, Array< OneD, Array< OneD, NekDouble > > &Forcing, const NekDouble aii_Dt) override |
| void | SolveLevelSet (const Array< OneD, NekDouble > &Forcing, const Array< OneD, NekDouble > &inarray, Array< OneD, NekDouble > &outarrayPhi, Array< OneD, NekDouble > &outarrayRho, Array< OneD, NekDouble > &outarrayVisc, const NekDouble aii_Dt) |
| void | v_SolvePressure (const Array< OneD, NekDouble > &Forcing) override |
| void | v_SolveViscous (const Array< OneD, const Array< OneD, NekDouble > > &Forcing, const Array< OneD, const Array< OneD, NekDouble > > &inarray, Array< OneD, Array< OneD, NekDouble > > &outarray, const NekDouble aii_Dt) override |
Protected Member Functions inherited from Nektar::VelocityCorrectionScheme | |
| VelocityCorrectionScheme (const LibUtilities::SessionReaderSharedPtr &pSession, const SpatialDomains::MeshGraphSharedPtr &pGraph) | |
| ~VelocityCorrectionScheme () override=default | |
| void | v_InitObject (bool DeclareField=true) override |
| Initialisation object for the unsteady diffusion problem. | |
| void | SetupFlowrate (NekDouble aii_dt) |
| Set up the Stokes solution used to impose constant flowrate through a boundary. | |
| NekDouble | MeasureFlowrate (const Array< OneD, Array< OneD, NekDouble > > &inarray) |
| Measure the volumetric flow rate through the volumetric flow rate reference surface. | |
| bool | v_PostIntegrate (int step) override |
| void | v_GenerateSummary (SolverUtils::SummaryList &s) override |
| Print a summary of time stepping parameters. | |
| void | v_TransCoeffToPhys (void) override |
| Virtual function for transformation to physical space. | |
| void | v_TransPhysToCoeff (void) override |
| Virtual function for transformation to coefficient space. | |
| void | v_DoInitialise (bool dumpInitialConditions=true) override |
| Sets up initial conditions. | |
| Array< OneD, bool > | v_GetSystemSingularChecks () override |
| int | v_GetForceDimension () override |
| virtual void | v_SolveSolid (NekDouble time) |
| virtual void | v_EvaluateAdvection_SetPressureBCs (const Array< OneD, const Array< OneD, NekDouble > > &inarray, Array< OneD, Array< OneD, NekDouble > > &outarray, const NekDouble time) |
| bool | v_RequireFwdTrans () override |
| virtual std::string | v_GetExtrapolateStr (void) |
| virtual std::string | v_GetSubSteppingExtrapolateStr (const std::string &instr) |
| void | SetUpSVV (void) |
| void | SetUpExtrapolation (void) |
| void | SVVVarDiffCoeff (const NekDouble velmag, Array< OneD, NekDouble > &diffcoeff, const Array< OneD, Array< OneD, NekDouble > > &vel=NullNekDoubleArrayOfArray) |
| void | AppendSVVFactors (StdRegions::ConstFactorMap &factors, StdRegions::VarFactorsMap &varFactorsMap) |
| void | ComputeGJPNormalVelocity (const Array< OneD, const Array< OneD, NekDouble > > &inarray, StdRegions::VarCoeffMap &varcoeffs) |
| void | UpdateVelocityBCs (NekDouble time) |
| void | AddMovingFrameDataToParams (const std::vector< std::string > &strFrameData, const Array< OneD, NekDouble > &movingFrameData, std::map< std::string, NekDouble > ¶ms) |
| void | SetEPInsulatorBCs (const Array< OneD, Array< OneD, NekDouble > > &movEfield) |
| VelocityCorrectionScheme (const LibUtilities::SessionReaderSharedPtr &pSession, const SpatialDomains::MeshGraphSharedPtr &pGraph) | |
| ~VelocityCorrectionScheme () override=default | |
| void | DoProjection (LibUtilities::Field< double, FieldState::Phys > &in, LibUtilities::Field< double, FieldState::Phys > &out, const double &time) |
| Project the velocity onto the continuous space with its Dirichlet values at time. The coefficients are left in m_coeff[m_velocityIndex], of which out is then the backward transform, as after a velocity solve. | |
| void | SolveUnsteadyStokesSystem (LibUtilities::Field< double, FieldState::Phys > &in, LibUtilities::Field< double, FieldState::Phys > &out, const double &time, const double &lambda, const ExplicitWeights &weights) |
| void | SolveUnsteadyStokesSystemWithoutHistory (LibUtilities::Field< double, FieldState::Phys > &in, LibUtilities::Field< double, FieldState::Phys > &out, const double &time, const double &lambda) |
| SolveUnsteadyStokesSystem() for a solver that keeps no histories. | |
| void | EvaluateAdvection_SetPressureBCs (LibUtilities::Field< double, FieldState::Phys > &in, LibUtilities::Field< double, FieldState::Phys > &out, const double &time, const double &dt, const ExplicitWeights &weights) |
| void | EvaluateAdvection_SetPressureBCsWithoutHistory (LibUtilities::Field< double, FieldState::Phys > &in, LibUtilities::Field< double, FieldState::Phys > &out, const double &time, const double &dt) |
| EvaluateAdvection_SetPressureBCs() for a solver that keeps no histories. | |
| bool | IsStartupStep () const |
| Whether the multistep scheme is taking one of its start-up steps, whose implicit solves are start-up stages. | |
| double | GetStartupDivergenceWeight (const double dt_inv_gamma) const |
| void | SetUpWeakPressureForcing (LibUtilities::Field< double, FieldState::Phys > &in, LibUtilities::Field< double, FieldState::Phys > &fieldRhs, const double dt_inv_gamma, const double startupDivergenceWeight, const ExplicitWeights &weights) |
| void | EvaluateAdvectionContribution (LibUtilities::Field< double, FieldState::Phys > &in, LibUtilities::Field< double, FieldState::Phys > &out, const double &time, const double &dt) |
| std::deque< LibUtilities::Field< double, FieldState::Phys > > & | GetAdvectionRhsHistory (const ExplicitWeights &weights) |
The history of the explicit advection contribution of the scheme that weights belong to, created on first use. | |
| void | FreeStartupHistories (unsigned int historyId) |
| Free the histories of the startup schemes once the main scheme evaluates again. | |
| std::deque< LibUtilities::Field< double, FieldState::Phys > > & | GetVelocityHistory (const ExplicitWeights &weights) |
The history of the velocity of the scheme that weights belongs to, created on first use. | |
| std::deque< LibUtilities::Field< double, FieldState::Phys > > & | GetPressureBCRhsHistory (const ExplicitWeights &weights) |
The history of the explicit forcing of the scheme that weights belong to, created on first use. | |
| void | UpdateAdvectionRhsHistory (LibUtilities::Field< double, FieldState::Phys > &advRhs, const ExplicitWeights &weights) |
| void | UpdateVelocityHistory (LibUtilities::Field< double, FieldState::Phys > &velocity, const ExplicitWeights &weights) |
| void | UpdatePressureBCRhsHistory (LibUtilities::Field< double, FieldState::Phys > &rhs, const double dt, const ExplicitWeights &weights) |
| void | CombineExplicitContributions (const ExplicitWeights &weights, std::deque< LibUtilities::Field< double, FieldState::Phys > > &history, LibUtilities::Field< double, FieldState::Phys > &out, const double scale=1.0) |
| out = scale * sum_i c_i history[i], with the coefficients c_i of the explicit contributions of the implicit solve, in one pass over out; levels of zero coefficient are skipped. | |
| void | v_InitObject (bool declareExpansionLists=true) override |
| Initialisation object for EquationSystem. | |
| void | v_SetExpansionVariables () override |
| CFLVelocity | v_GetCFLVelocity () override |
| Offer the advection velocity to the Courant estimate. | |
| void | v_GenerateSummary (SummaryList &s) override |
| Print a summary of time stepping parameters. | |
| std::vector< bool > | v_GetSystemSingularChecks () override |
| MultiRegions::ExpListSharedPtr | v_GetInitialConditionExpList (const size_t i) override |
| void | v_InitialiseFields () override |
| void | v_InitialiseOperators () override |
| void | SetDiffusionCoeff () |
| Set the diffusion Coeff. the diff. coeff., diffCoeff_{ij} := \epslion * D_{ij} where, \epslion is scalar part D_{ij} is a 2D tensor for enforcing anisotropy Note, it is assumed that, diffCoeff_{ij} = diffCoeff_{ji}. | |
| void | LoadSessionParameters () |
| Load physical parameters from the session file. | |
| FieldRegistry | v_GetFieldRegistry () override |
| bool | HasUserDefinedType (const std::string &userDefinedType, const std::vector< std::string > &variables) const |
Whether a boundary region of any rank has a condition of USERDEFINEDTYPE userDefinedType on one of variables. | |
Protected Member Functions inherited from Nektar::IncNavierStokes | |
| IncNavierStokes (const LibUtilities::SessionReaderSharedPtr &pSession, const SpatialDomains::MeshGraphSharedPtr &pGraph) | |
| Constructor. | |
| ~IncNavierStokes () override=default | |
| void | v_GetPressure (const Array< OneD, const Array< OneD, NekDouble > > &physfield, Array< OneD, NekDouble > &pressure) override |
| void | v_GetDensity (const Array< OneD, const Array< OneD, NekDouble > > &physfield, Array< OneD, NekDouble > &density) override |
| bool | v_HasConstantDensity () override |
| void | v_GetVelocity (const Array< OneD, const Array< OneD, NekDouble > > &physfield, Array< OneD, Array< OneD, NekDouble > > &velocity) override |
| void | v_SetMovingFrameVelocities (const Array< OneD, NekDouble > &vFrameVels) override |
| bool | v_GetMovingFrameVelocities (Array< OneD, NekDouble > &vFrameVels) override |
| void | v_SetMovingFrameDisp (const Array< OneD, NekDouble > &vFrameDisp) override |
| void | v_SetMovingFramePivot (const Array< OneD, NekDouble > &vFramePivot) override |
| void | v_GetMovingFramePivot (Array< OneD, NekDouble > &vFramePivot) override |
| bool | v_GetMovingFrameDisp (Array< OneD, NekDouble > &vFrameDisp) override |
| void | v_SetAeroForce (Array< OneD, NekDouble > forces) override |
| void | v_GetAeroForce (Array< OneD, NekDouble > forces) override |
| void | v_SetMovableDoFs (const std::set< int > &dirDoFs) override |
| void | v_GetMovableDoFs (std::set< int > &dirDoFs) override |
| void | EvaluateAdvectionTerms (const Array< OneD, const Array< OneD, NekDouble > > &inarray, Array< OneD, Array< OneD, NekDouble > > &outarray, const NekDouble time) |
| void | WriteModalEnergy (void) |
| void | SetBoundaryConditions (NekDouble time) |
| time dependent boundary conditions updating | |
| void | SetRadiationBoundaryForcing (int fieldid) |
| Set Radiation forcing term. | |
| void | SetZeroNormalVelocity () |
| Set Normal Velocity Component to Zero. | |
| void | SetWomersleyBoundary (const int fldid, const int bndid) |
| Set Womersley Profile if specified. | |
| void | SetUpWomersley (const int fldid, const int bndid, std::string womstr) |
| Set Up Womersley details. | |
| MultiRegions::ExpListSharedPtr | v_GetPressure () override |
| Array< OneD, NekDouble > | v_GetMaxStdVelocity (const NekDouble SpeedSoundFactor) override |
| bool | v_PreIntegrate (int step) override |
Protected Member Functions inherited from Nektar::SolverUtils::UnsteadySystem | |
| SOLVER_UTILS_EXPORT | UnsteadySystem (const LibUtilities::SessionReaderSharedPtr &pSession, const SpatialDomains::MeshGraphSharedPtr &pGraph) |
| Initialises UnsteadySystem class members. | |
| SOLVER_UTILS_EXPORT void | v_DoSolve () override |
| Solves an unsteady problem. | |
| virtual SOLVER_UTILS_EXPORT void | v_PrintStatusInformation (const int step, const NekDouble cpuTime) |
| Print Status Information. | |
| virtual SOLVER_UTILS_EXPORT void | v_PrintSummaryStatistics (const NekDouble intTime) |
| Print Summary Statistics. | |
| virtual SOLVER_UTILS_EXPORT NekDouble | v_GetTimeStep (const Array< OneD, const Array< OneD, NekDouble > > &inarray) |
| Return the timestep to be used for the next step in the time-marching loop. | |
| virtual SOLVER_UTILS_EXPORT void | v_SteadyStateResidual (int step, Array< OneD, NekDouble > &L2) |
| virtual SOLVER_UTILS_EXPORT bool | v_UpdateTimeStepCheck () |
| SOLVER_UTILS_EXPORT NekDouble | MaxTimeStepEstimator () |
| Get the maximum timestep estimator for cfl control. | |
| SOLVER_UTILS_EXPORT void | CheckForRestartTime (NekDouble &time, int &nchk) |
| SOLVER_UTILS_EXPORT void | SVVVarDiffCoeff (const Array< OneD, Array< OneD, NekDouble > > vel, StdRegions::VarCoeffMap &varCoeffMap) |
| Evaluate the SVV diffusion coefficient according to Moura's paper where it should proportional to h time velocity. | |
| SOLVER_UTILS_EXPORT void | DoDummyProjection (const Array< OneD, const Array< OneD, NekDouble > > &inarray, Array< OneD, Array< OneD, NekDouble > > &outarray, const NekDouble time) |
| Perform dummy projection. | |
Protected Member Functions inherited from Nektar::SolverUtils::EquationSystem | |
| SOLVER_UTILS_EXPORT | EquationSystem (const LibUtilities::SessionReaderSharedPtr &pSession, const SpatialDomains::MeshGraphSharedPtr &pGraph) |
| Initialises EquationSystem class members. | |
| virtual SOLVER_UTILS_EXPORT NekDouble | v_LinfError (unsigned int field, const Array< OneD, NekDouble > &exactsoln=NullNekDouble1DArray) |
| Virtual function for the L_inf error computation between fields and a given exact solution. | |
| virtual SOLVER_UTILS_EXPORT NekDouble | v_L2Error (unsigned int field, const Array< OneD, NekDouble > &exactsoln=NullNekDouble1DArray, bool Normalised=false) |
| Virtual function for the L_2 error computation between fields and a given exact solution. | |
| virtual SOLVER_UTILS_EXPORT NekDouble | v_H1Error (unsigned int field, const Array< OneD, NekDouble > &exactsoln=NullNekDouble1DArray, bool Normalised=false) |
| Virtual function for the H_1 error computation between fields and a given exact solution. | |
| virtual SOLVER_UTILS_EXPORT void | v_SetInitialConditions (NekDouble initialtime=0.0, bool dumpInitialConditions=true, const int domain=0) |
| virtual SOLVER_UTILS_EXPORT void | v_EvaluateExactSolution (unsigned int field, Array< OneD, NekDouble > &outfield, const NekDouble time) |
| virtual SOLVER_UTILS_EXPORT void | v_Output (void) |
| virtual SOLVER_UTILS_EXPORT bool | v_NegatedOp (void) |
| Virtual function to identify if operator is negated in DoSolve. | |
| virtual SOLVER_UTILS_EXPORT void | v_ExtraFldOutput (std::vector< Array< OneD, NekDouble > > &fieldcoeffs, std::vector< std::string > &variables) |
Protected Attributes | ||
| NekDouble | m_epsilon | |
| NekDouble | m_rhol | |
| NekDouble | m_rhof | |
| NekDouble | m_viscl | |
| NekDouble | m_viscf | |
| NekDouble | m_sigma | |
| NekDouble | m_gravity | |
| Array< OneD, Array< OneD, NekDouble > > | m_IntNorm | |
| Array< OneD, Array< OneD, NekDouble > > | m_SurfTen | |
Protected Attributes inherited from Nektar::VelocityCorrectionScheme | ||
| bool | m_useHomo1DSpecVanVisc | |
| bool to identify if spectral vanishing viscosity is active. | ||
| bool | m_useSpecVanVisc | |
| bool to identify if spectral vanishing viscosity is active. | ||
| bool | m_useGJPStabilisation | |
| bool to identify if GJP semi-implicit is active. | ||
| bool | m_useGJPNormalVel | |
| bool to identify if GJP normal Velocity should be applied in explicit approach | ||
| NekDouble | m_GJPJumpScale | |
| NekDouble | m_sVVCutoffRatio | |
| cutt off ratio from which to start decayhing modes | ||
| NekDouble | m_sVVDiffCoeff | |
| Diffusion coefficient of SVV modes. | ||
| NekDouble | m_sVVCutoffRatioHomo1D | |
| NekDouble | m_sVVDiffCoeffHomo1D | |
| Diffusion coefficient of SVV modes in homogeneous 1D Direction. | ||
| Array< OneD, NekDouble > | m_svvVarDiffCoeff | |
| Array of coefficient if power kernel is used in SVV. | ||
| bool | m_IsSVVPowerKernel | |
| Identifier for Power Kernel otherwise DG kernel. | ||
| Array< OneD, NekDouble > | m_diffCoeff | |
| Diffusion coefficients (will be kinvis for velocities) | ||
| StdRegions::VarCoeffMap | m_varCoeffLap | |
| Variable Coefficient map for the Laplacian which can be activated as part of SVV or otherwise. | ||
| NekDouble | m_flowrate | |
| Desired volumetric flowrate. | ||
| NekDouble | m_flowrateArea | |
| Area of the boundary through which we are measuring the flowrate. | ||
| bool | m_homd1DFlowinPlane | |
| NekDouble | m_greenFlux | |
| Flux of the Stokes function solution. | ||
| NekDouble | m_alpha | |
| Current flowrate correction. | ||
| int | m_flowrateBndID | |
| Boundary ID of the flowrate reference surface. | ||
| int | m_planeID | |
| Plane ID for cases with homogeneous expansion. | ||
| MultiRegions::ExpListSharedPtr | m_flowrateBnd | |
| Flowrate reference surface. | ||
| Array< OneD, Array< OneD, NekDouble > > | m_flowrateStokes | |
| Stokes solution used to impose flowrate. | ||
| std::ofstream | m_flowrateStream | |
| Output stream to record flowrate. | ||
| int | m_flowrateSteps | |
| Interval at which to record flowrate data. | ||
| int | m_flowrateStepsPrecision | |
| Decimal precision of flow rate (alpha) | ||
| NekDouble | m_flowrateAiidt | |
| Value of aii_dt used to compute Stokes flowrate solution. | ||
| MultiRegions::ExpListSharedPtr | m_epotential | |
| Pointer to field holding electric potential field. | ||
| struct { | ||
| bool hasLorentzForce = false | ||
| Whether ForcingLorentz is defined. More... | ||
| NekDouble implicitLorentzDamping = 0.0 | ||
| Coefficient sigma |B|^2 treated in the velocity Helmholtz solve. More... | ||
| } | m_MHD | |
| Quasi-static MHD configuration. | ||
| Array< OneD, Array< OneD, NekDouble > > | m_F | |
| bool | m_implicitAdvection = false | |
| bool | m_specHPDealiasing = false | |
| bool | m_weakPressure = false | |
| bool | m_hasHighOrderPressureBCs = false | |
| bool | m_hasPressureBCExplicitRhs = false | |
| bool | m_hasMultistepStartup = false | |
| unsigned int | m_startupSteps = 0 | |
| double | m_startupImplicitCoefficient = 0.0 | |
| double | m_kinvis | |
| std::vector< double > | m_diffCoeff | |
| double | m_lambda | |
| const unsigned int | m_velocityIndex = 0 | |
| const unsigned int | m_pressureIndex = 1 | |
| std::vector< std::string > | m_variablesVel | |
| std::vector< std::string > | m_variablesAddScalars | |
| LibUtilities::Field< double, FieldState::Phys > | m_advVel | |
| LibUtilities::Field< double, FieldState::Phys > | m_wsp_fields_rhs | |
| LibUtilities::Field< double, FieldState::Phys > | m_startupInitialSolution | |
| LibUtilities::Field< double, FieldState::Phys > | m_pressureBCVelocity | |
| LibUtilities::Field< double, FieldState::Phys > | m_pressureBCExplicitRhs | |
| LibUtilities::Field< double, FieldState::Coeff > | m_pressureBasisIntegrals | |
| std::map< unsigned int, std::deque< LibUtilities::Field< double, FieldState::Phys > > > | m_advectionRhsHistories | |
| std::map< unsigned int, std::deque< LibUtilities::Field< double, FieldState::Phys > > > | m_velocityHistories | |
| std::map< unsigned int, std::deque< LibUtilities::Field< double, FieldState::Phys > > > | m_pressureBCRhsHistories | |
| std::shared_ptr< BwdTransOp< double > > | m_bwdTransOp | |
| std::shared_ptr< FwdTransOp< double > > | m_fwdTransOp | |
| std::shared_ptr< BwdTransOp< double > > | m_bwdTransPressureOp | |
| std::shared_ptr< AdvectionOp< double > > | m_advectionOp | |
| std::shared_ptr< AdvectionDealiasOp< double > > | m_advectionDealiasOp | |
| std::shared_ptr< PhysDerivOp< double > > | m_physDerivPressureOp | |
| std::shared_ptr< LinearSystemOp< double > > | m_fieldsSolveOp | |
| std::shared_ptr< LinearSolverOp< double > > | m_linearSolverFieldsOp | |
| std::shared_ptr< LinearSolverOp< double > > | m_linearSolverPressureOp | |
| std::map< double, std::shared_ptr< PreconOp< double > > > | m_preconFieldsOpMap | |
| std::shared_ptr< PreconOp< double > > | m_preconFieldsOp | |
| std::map< double, std::shared_ptr< PreconOp< double > > > | m_preconPressureOpMap | |
| std::shared_ptr< PoissonSolveOp< double > > | m_poissonSolveOp | |
| std::shared_ptr< HOPressureBndCondOp< double > > | m_hoPressureBCOp | |
| std::shared_ptr< HOutflowBndCondOp< double > > | m_hOutflowBCOp | |
| std::vector< ForcingSharedPtr > | m_forcing | |
| std::shared_ptr< DivergenceOp< double > > | m_divergenceOp | |
| std::shared_ptr< IProductWRTDerivBaseOp< FieldState::Coeff, double > > | m_iprodDerivPressureOp | |
| std::shared_ptr< IProductWRTBaseOp< double > > | m_iprodPressureOp | |
Protected Attributes inherited from Nektar::IncNavierStokes | ||
| ExtrapolateSharedPtr | m_extrapolation | |
| IncBoundaryConditionsSharedPtr | m_IncNavierStokesBCs | |
| std::ofstream | m_mdlFile | |
| modal energy file | ||
| bool | m_SmoothAdvection | |
| bool to identify if advection term smoothing is requested | ||
| std::vector< SolverUtils::ForcingSharedPtr > | m_forcing | |
| Forcing terms. | ||
| int | m_nConvectiveFields | |
| Number of fields to be convected;. | ||
| Array< OneD, int > | m_velocity | |
| int which identifies which components of m_fields contains the velocity (u,v,w); | ||
| MultiRegions::ExpListSharedPtr | m_pressure | |
| Pointer to field holding pressure field. | ||
| NekDouble | m_kinvis | |
| Kinematic viscosity. | ||
| int | m_energysteps | |
| dump energy to file at steps time | ||
| EquationType | m_equationType | |
| equation type; | ||
| Array< OneD, Array< OneD, int > > | m_fieldsBCToElmtID | |
| Mapping from BCs to Elmt IDs. | ||
| Array< OneD, Array< OneD, int > > | m_fieldsBCToTraceID | |
| Mapping from BCs to Elmt Edge IDs. | ||
| Array< OneD, Array< OneD, NekDouble > > | m_fieldsRadiationFactor | |
| RHS Factor for Radiation Condition. | ||
| int | m_intSteps | |
| Number of time integration steps AND Order of extrapolation for pressure boundary conditions. | ||
| Array< OneD, NekDouble > | m_pivotPoint | |
| pivot point for moving reference frame | ||
| Array< OneD, NekDouble > | m_aeroForces | |
| std::map< int, std::map< int, WomersleyParamsSharedPtr > > | m_womersleyParams | |
| Womersley parameters if required. | ||
Protected Attributes inherited from Nektar::SolverUtils::AdvectionSystem | ||
| SolverUtils::AdvectionSharedPtr | m_advObject | |
| Advection term. | ||
Protected Attributes inherited from Nektar::SolverUtils::UnsteadySystem | ||
| LibUtilities::TimeIntegrationSchemeSharedPtr | m_intScheme | |
| Wrapper to the time integration scheme. | ||
| LibUtilities::TimeIntegrationSchemeOperators | m_ode | |
| The time integration scheme operators to use. | ||
| Array< OneD, Array< OneD, NekDouble > > | m_previousSolution | |
| Storage for previous solution for steady-state check. | ||
| std::vector< int > | m_intVariables | |
| NekDouble | m_cflSafetyFactor | |
| CFL safety factor (comprise between 0 to 1). | ||
| NekDouble | m_CFLGrowth | |
| CFL growth rate. | ||
| NekDouble | m_CFLEnd | |
| Maximun cfl in cfl growth. | ||
| int | m_abortSteps | |
| Number of steps between checks for abort conditions. | ||
| bool | m_explicitDiffusion | |
| Indicates if explicit or implicit treatment of diffusion is used. | ||
| bool | m_explicitAdvection | |
| Indicates if explicit or implicit treatment of advection is used. | ||
| bool | m_explicitReaction | |
| Indicates if explicit or implicit treatment of reaction is used. | ||
| int | m_steadyStateSteps | |
| Check for steady state at step interval. | ||
| NekDouble | m_steadyStateTol | |
| Tolerance to which steady state should be evaluated at. | ||
| int | m_filtersInfosteps | |
| Number of time steps between outputting filters information. | ||
| std::vector< std::pair< std::string, FilterSharedPtr > > | m_filters | |
| bool | m_homoInitialFwd | |
| Flag to determine if simulation should start in homogeneous forward transformed state. | ||
| std::ofstream | m_errFile | |
| NekDouble | m_epsilon | |
| Diffusion coefficient. | ||
Protected Attributes inherited from Nektar::SolverUtils::EquationSystem | ||
| LibUtilities::CommSharedPtr | m_comm | |
| Communicator. | ||
| bool | m_verbose | |
| LibUtilities::SessionReaderSharedPtr | m_session | |
| The session reader. | ||
| std::map< std::string, SolverUtils::SessionFunctionSharedPtr > | m_sessionFunctions | |
| Map of known SessionFunctions. | ||
| LibUtilities::FieldIOSharedPtr | m_fld | |
| Field input/output. | ||
| Array< OneD, MultiRegions::ExpListSharedPtr > | m_fields | |
| Array holding all dependent variables. | ||
| SpatialDomains::BoundaryConditionsSharedPtr | m_boundaryConditions | |
| Pointer to boundary conditions object. | ||
| SpatialDomains::MeshGraphSharedPtr | m_graph | |
| Pointer to graph defining mesh. | ||
| std::string | m_sessionName | |
| Name of the session. | ||
| NekDouble | m_time | |
| Current time of simulation. | ||
| int | m_initialStep | |
| Number of the step where the simulation should begin. | ||
| NekDouble | m_fintime | |
| Finish time of the simulation. | ||
| NekDouble | m_timestep | |
| Time step size. | ||
| NekDouble | m_lambda | |
| Lambda constant in real system if one required. | ||
| NekDouble | m_checktime | |
| Time between checkpoints. | ||
| NekDouble | m_lastCheckTime | |
| NekDouble | m_TimeIncrementFactor | |
| int | m_nchk | |
| Number of checkpoints written so far. | ||
| int | m_steps | |
| Number of steps to take. | ||
| int | m_checksteps | |
| Number of steps between checkpoints. | ||
| int | m_infosteps | |
| Number of time steps between outputting status information. | ||
| int | m_iterPIT = 0 | |
| Number of parallel-in-time time iteration. | ||
| int | m_windowPIT = 0 | |
| Index of windows for parallel-in-time time iteration. | ||
| int | m_spacedim | |
| Spatial dimension (>= expansion dim). | ||
| int | m_expdim | |
| Expansion dimension. | ||
| bool | m_singleMode | |
| Flag to determine if single homogeneous mode is used. | ||
| bool | m_halfMode | |
| Flag to determine if half homogeneous mode is used. | ||
| bool | m_multipleModes | |
| Flag to determine if use multiple homogenenous modes are used. | ||
| bool | m_useFFT | |
| Flag to determine if FFT is used for homogeneous transform. | ||
| bool | m_homogen_dealiasing | |
| Flag to determine if dealiasing is used for homogeneous simulations. | ||
| bool | m_specHP_dealiasing | |
| Flag to determine if dealisising is usde for the Spectral/hp element discretisation. | ||
| enum MultiRegions::ProjectionType | m_projectionType | |
| Type of projection; e.g continuous or discontinuous. | ||
| Array< OneD, Array< OneD, NekDouble > > | m_traceNormals | |
| Array holding trace normals for DG simulations in the forwards direction. | ||
| Array< OneD, bool > | m_checkIfSystemSingular | |
| Flag to indicate if the fields should be checked for singularity. | ||
| LibUtilities::FieldMetaDataMap | m_fieldMetaDataMap | |
| Map to identify relevant solver info to dump in output fields. | ||
| Array< OneD, NekDouble > | m_movingFrameData | |
| Moving reference frame status in the body frame X, Y, Z, Theta_x, Theta_y, Theta_z, [inertial] U, V, W, Omega_x, Omega_y, Omega_z, [body] A_x, A_y, A_z, DOmega_x, DOmega_y, DOmega_z, [body] pivot_x, pivot_y, pivot_z [body]. | ||
| std::vector< std::string > | m_strFrameData | |
| variable name in m_movingFrameData | ||
| std::vector< bool > | m_movableDoFs | |
| int | m_NumQuadPointsError | |
| Number of Quadrature points used to work out the error. | ||
| enum HomogeneousType | m_HomogeneousType | |
| NekDouble | m_LhomX | |
| physical length in X direction (if homogeneous) | ||
| NekDouble | m_LhomY | |
| physical length in Y direction (if homogeneous) | ||
| NekDouble | m_LhomZ | |
| physical length in Z direction (if homogeneous) | ||
| int | m_npointsX | |
| number of points in X direction (if homogeneous) | ||
| int | m_npointsY | |
| number of points in Y direction (if homogeneous) | ||
| int | m_npointsZ | |
| number of points in Z direction (if homogeneous) | ||
| int | m_HomoDirec | |
| number of homogenous directions | ||
Protected Attributes inherited from Nektar::SolverUtils::ALEHelper | ||
| Array< OneD, MultiRegions::ExpListSharedPtr > | m_fieldsALE | |
| Array< OneD, Array< OneD, NekDouble > > | m_gridVelocity | |
| Array< OneD, Array< OneD, NekDouble > > | m_gridVelocityTrace | |
| std::vector< ALEBaseShPtr > | m_ALEs | |
| bool | m_ALESolver = false | |
| bool | m_meshDistorted = false | |
| bool | m_implicitALESolver = false | |
| bool | m_updateNormals = false | |
| NekDouble | m_prevStageTime = 0.0 | |
| int | m_spaceDim | |
Static Protected Attributes | |
| static std::string | solverTypeLookupId |
Static Protected Attributes inherited from Nektar::VelocityCorrectionScheme | |
| static std::string | solverTypeLookupId |
Static Protected Attributes inherited from Nektar::IncNavierStokes | |
| static std::string | eqTypeLookupIds [] |
Static Protected Attributes inherited from Nektar::SolverUtils::EquationSystem | |
| static std::string | equationSystemTypeLookupIds [] |
| static std::string | projectionTypeLookupIds [] |
Friends | |
| class | MemoryManager< VCSLevelSet > |
Definition at line 42 of file VelocityCorrectionSchemeLevelSet.h.
|
protected |
Constructor. Creates ...
param
Definition at line 64 of file VelocityCorrectionSchemeLevelSet.cpp.
|
overrideprotecteddefault |
|
inlinestatic |
Creates an instance of this class.
Definition at line 48 of file VelocityCorrectionSchemeLevelSet.h.
References Nektar::MemoryManager< DataType >::AllocateSharedPtr().
|
protected |
Computes the forcing term that includes explicit artificial compression flux for level set solve.
Definition at line 159 of file VelocityCorrectionSchemeLevelSet.cpp.
References Nektar::MultiRegions::DirCartesianMap, m_epsilon, Nektar::SolverUtils::EquationSystem::m_fields, Nektar::IncNavierStokes::m_velocity, Vmath::Smul(), Vmath::Ssub(), Vmath::Svtsvtp(), Vmath::Vabs(), Vmath::Vadd(), Vmath::Vdiv(), Vmath::Vmul(), Vmath::Vpow(), Vmath::Vsqrt(), Vmath::Vvtvvtp(), and Vmath::Zero().
Referenced by v_SolveUnsteadyStokesSystem().
|
protected |
Solve level set system using a Helmholtz-type operator.
Definition at line 428 of file VelocityCorrectionSchemeLevelSet.cpp.
References Nektar::StdRegions::eFactorLambda, m_epsilon, Nektar::SolverUtils::EquationSystem::m_fields, m_rhof, m_rhol, Nektar::IncNavierStokes::m_velocity, m_viscf, m_viscl, Nektar::StdRegions::NullVarCoeffMap, Nektar::StdRegions::NullVarFactorsMap, Vmath::Sadd(), and Vmath::Smul().
Referenced by v_SolveUnsteadyStokesSystem().
|
overrideprotectedvirtual |
Print a summary of time stepping parameters.
Prints a summary with some information regards the time-stepping.
Reimplemented from Nektar::SolverUtils::UnsteadySystem.
Definition at line 88 of file VelocityCorrectionSchemeLevelSet.cpp.
References Nektar::SolverUtils::AddSummaryItem().
Initialisation object for EquationSystem.
Continuous field
Setting up the normals
Setting up the normals
Reimplemented from Nektar::IncNavierStokes.
Definition at line 71 of file VelocityCorrectionSchemeLevelSet.cpp.
References m_epsilon, m_gravity, m_rhof, m_rhol, Nektar::SolverUtils::EquationSystem::m_session, m_sigma, m_viscf, m_viscl, and Nektar::VelocityCorrectionScheme::v_InitObject().
|
overrideprotectedvirtual |
Computes the forcing term that includes surface tension forces for the pressure poisson solve.
Reimplemented from Nektar::VelocityCorrectionScheme.
Definition at line 249 of file VelocityCorrectionSchemeLevelSet.cpp.
References Nektar::MultiRegions::DirCartesianMap, Nektar::MultiRegions::eX, Nektar::SolverUtils::EquationSystem::m_fields, m_sigma, m_SurfTen, Nektar::IncNavierStokes::m_velocity, Vmath::Smul(), Vmath::Vabs(), Vmath::Vadd(), Vmath::Vcopy(), Vmath::Vdiv(), Vmath::Vmul(), Vmath::Vpow(), Vmath::Vsqrt(), Vmath::Vsub(), and Vmath::Zero().
|
overrideprotectedvirtual |
Computes the forcing term that includes the updated pressure gradient, and surface tension forces.
Reimplemented from Nektar::VelocityCorrectionScheme.
Definition at line 357 of file VelocityCorrectionSchemeLevelSet.cpp.
References Nektar::SolverUtils::EquationSystem::m_fields, Nektar::IncNavierStokes::m_nConvectiveFields, Nektar::IncNavierStokes::m_pressure, m_SurfTen, Nektar::IncNavierStokes::m_velocity, Vmath::Sdiv(), Vmath::Vadd(), Vmath::Vdiv(), Vmath::Vvtvvtp(), and Vmath::Zero().
|
overrideprotectedvirtual |
Solve pressure system via a variable-coefficient Poisson problem.
Reimplemented from Nektar::VelocityCorrectionScheme.
Definition at line 463 of file VelocityCorrectionSchemeLevelSet.cpp.
References Nektar::StdRegions::eFactorLambda, Nektar::StdRegions::eVarCoeffD00, Nektar::StdRegions::eVarCoeffD11, Nektar::StdRegions::eVarCoeffD22, Nektar::IncNavierStokes::m_extrapolation, Nektar::SolverUtils::EquationSystem::m_fields, Nektar::VelocityCorrectionScheme::m_kinvis, Nektar::IncNavierStokes::m_pressure, Nektar::IncNavierStokes::m_velocity, Nektar::StdRegions::NullVarCoeffMap, Nektar::StdRegions::NullVarFactorsMap, and Vmath::Sdiv().
|
overrideprotectedvirtual |
Implicit part of the method - Poisson + nConv*Helmholtz
Reimplemented from Nektar::VelocityCorrectionScheme.
Definition at line 98 of file VelocityCorrectionSchemeLevelSet.cpp.
References Nektar::LibUtilities::Timer::AccumulateRegion(), Nektar::ErrorUtil::efatal, Nektar::IncNavierStokes::m_extrapolation, Nektar::VelocityCorrectionScheme::m_F, Nektar::VelocityCorrectionScheme::m_flowrate, Nektar::VelocityCorrectionScheme::m_kinvis, Nektar::IncNavierStokes::m_velocity, NEKERROR, SetUpLevelSetForcing(), Nektar::VelocityCorrectionScheme::SetUpPressureForcing(), Nektar::VelocityCorrectionScheme::SetUpViscousForcing(), SolveLevelSet(), Nektar::VelocityCorrectionScheme::SolvePressure(), Nektar::VelocityCorrectionScheme::SolveViscous(), Nektar::LibUtilities::Timer::Start(), and Nektar::LibUtilities::Timer::Stop().
|
overrideprotectedvirtual |
Solve velocity system velocity system via variable-viscosity Helmholtz problems for each directional velocity component using a mass matrix variable coefficient.
Reimplemented from Nektar::VelocityCorrectionScheme.
Definition at line 500 of file VelocityCorrectionSchemeLevelSet.cpp.
References Nektar::VelocityCorrectionScheme::AppendSVVFactors(), Nektar::VelocityCorrectionScheme::ComputeGJPNormalVelocity(), Nektar::StdRegions::eFactorGJP, Nektar::StdRegions::eFactorLambda, Nektar::StdRegions::eVarCoeffMass, Nektar::VelocityCorrectionScheme::m_diffCoeff, Nektar::SolverUtils::EquationSystem::m_fields, Nektar::VelocityCorrectionScheme::m_GJPJumpScale, Nektar::VelocityCorrectionScheme::m_useGJPNormalVel, Nektar::VelocityCorrectionScheme::m_useGJPStabilisation, Nektar::IncNavierStokes::m_velocity, Nektar::StdRegions::NullVarCoeffMap, Nektar::StdRegions::NullVarFactorsMap, and Vmath::Sdiv().
|
friend |
Definition at line 123 of file VelocityCorrectionSchemeLevelSet.h.
|
static |
Name of class.
Definition at line 59 of file VelocityCorrectionSchemeLevelSet.h.
|
protected |
Definition at line 63 of file VelocityCorrectionSchemeLevelSet.h.
Referenced by SetUpLevelSetForcing(), SolveLevelSet(), and v_InitObject().
|
protected |
Definition at line 69 of file VelocityCorrectionSchemeLevelSet.h.
Referenced by v_InitObject().
Definition at line 70 of file VelocityCorrectionSchemeLevelSet.h.
|
protected |
Definition at line 65 of file VelocityCorrectionSchemeLevelSet.h.
Referenced by SolveLevelSet(), and v_InitObject().
|
protected |
Definition at line 64 of file VelocityCorrectionSchemeLevelSet.h.
Referenced by SolveLevelSet(), and v_InitObject().
|
protected |
Definition at line 68 of file VelocityCorrectionSchemeLevelSet.h.
Referenced by v_InitObject(), and v_SetUpPressureForcing().
Definition at line 71 of file VelocityCorrectionSchemeLevelSet.h.
Referenced by v_SetUpPressureForcing(), and v_SetUpViscousForcing().
|
protected |
Definition at line 67 of file VelocityCorrectionSchemeLevelSet.h.
Referenced by SolveLevelSet(), and v_InitObject().
|
protected |
Definition at line 66 of file VelocityCorrectionSchemeLevelSet.h.
Referenced by SolveLevelSet(), and v_InitObject().
|
staticprotected |
Definition at line 73 of file VelocityCorrectionSchemeLevelSet.h.