#include <CartBoxFDMChn3D.h>
Public Member Functions | |
void | AddDpDxAndFixFluxIfNecessary () |
void | ConfigFlowDict () |
virtual void | SolveStageOne (const int &step, const Real &time, const Real &coef) override final |
virtual void | InitStatLogFile () override final |
virtual void | StatLog (const int &istep, const Real &time) override final |
virtual void | Statistic (const int &istep, const Real &time) override final |
![]() | |
FDMSolver () | |
virtual | ~FDMSolver () |
![]() | |
Solver () | |
virtual | ~Solver () |
void | PrintAbstract () |
void | Relase (const SolverNameList &flag) |
void | ConfigGlobalDict (const std::string filename) |
void | PrintConfigGlobalDict () |
virtual std::string | GetSolverName () |
virtual std::string | GetMeshName () |
![]() | |
CartDataSpace () | |
~CartDataSpace () | |
void | ConfigDataSpaceDict () |
config information of mpi from ControlDict.in More... | |
void | CheckConfigDataSpaceDict () |
Private Types | |
using | FlowType = solver::fluidsol::boxfdm::FlowType |
using | DpDxType = solver::fluidsol::boxfdm::DpDxType |
Private Member Functions | |
Real | CalDpDxAndFixFlux () |
void | AddDpDx (const Real &dpdx) |
void | InitTCF (const Real &time) |
void | InitPChnFlow (const Real &time) |
virtual void | GenerateInitFlow (const FlowType &ftype, const Real &time) override final |
Genearate Flow at the begining. More... | |
Private Attributes | |
struct { | |
DpDxType dpdx_type | |
} | dict |
Additional Inherited Members | |
![]() | |
static const auto & | GlobalDict () |
static const auto & | Dt () |
![]() | |
static std::vector< int > | CalTotalShape (const std::vector< int > &flag) |
![]() | |
std::vector< Real > | domain_size |
std::vector< int > | mesh_size |
std::vector< int > | ghost_size |
std::vector< int > | stagger_flag |
![]() | |
static std::vector< std::vector< Real > > | domain_size |
static std::vector< std::vector< Real > > | gb_domain_size |
static std::vector< int > | mesh_size |
static std::vector< int > | gb_mesh_size |
static std::vector< int > | start_index |
static std::vector< std::vector< int > > | ghost_size |
static std::vector< std::vector< int > > | stagger_flag |
static const std::vector< int > | center_flag |
static blockelm::CartMesh< N_dim > | gb_cartmesh |
static blockelm::CartBlock< N_dim > | cartblock |
static gsmpi::GSMPICart< N_dim > | mpicomm |
static std::vector< ibm::IBMCart< N_dim > > | cartibm |
static int | ibm_flag |
static std::vector< blockelm::CartField< Real, N_dim > * > | tempfields |
static tml::tmlnode | dataspacetml |
struct { | |
std::vector< Real > domain_size | |
std::vector< int > mesh_size | |
std::vector< int > ghost_size | |
std::vector< int > stagger_flag | |
} | dataspacedict |
![]() | |
FluidSolBase () | |
virtual | ~FluidSolBase () |
virtual void | Init ()=0 |
virtual void | Solve (const int &step, const Real &time, std::vector< std::shared_ptr< ppsol::PPSolBase >>)=0 |
virtual void | SolveStageTwo (const int &step, const Real &time, const Real &coef)=0 |
virtual void | Finish (const int &step, const Real &time)=0 |
virtual void | WriteFields (const int &step, const Real &time)=0 |
![]() | |
tml::tmlnode | fluidsoltml |
tml::tmlnode | fparams |
![]() | |
static Real & | dtf = dt |
![]() | |
static std::string | header = "PhyStar" |
static std::string | version = "v0.0.1" |
static int | count |
static Solver * | ptr_fluidsol = nullptr |
static Solver * | ptr_point_particlesol = nullptr |
static Solver * | ptr_resolved_particlesol = nullptr |
static Real | dt |
static Real | kvisc |
static Real | density |
static tml::tmlnode | globaltml |
struct { | |
std::string casename | |
Real time_start | |
Real time_end | |
Real time_ndump | |
int ndim | |
int step_start | |
int nstep | |
int step_end | |
int step_ndump | |
int step_nscreen | |
int step_nstat | |
int step_nrefresh | |
int ppsol_flag | |
int ppsol_same_dict | |
unsigned int random_seed | |
} | globaldict |
|
private |
|
private |
|
private |
References solver::CartDataSpace< N_dim, 999 >::gb_mesh_size, and solver::CartDataSpace< N_dim, 999 >::ghost_size.
|
inline |
|
private |
References solver::CartDataSpace< N_dim, 999 >::gb_domain_size, solver::CartDataSpace< N_dim, 999 >::gb_mesh_size, solver::CartDataSpace< N_dim, 999 >::ghost_size, solver::Solver::kvisc, solver::CartDataSpace< N_dim, 999 >::mesh_size, solver::CartDataSpace< N_dim, 999 >::mpicomm, and gsmpi::root.
|
inline |
References dict, solver::fluidsol::FluidSolBase::fluidsoltml, solver::Solver::kvisc, and solver::fluidsol::boxfdm::vConfigDpDxType().
|
inlinefinaloverrideprivatevirtual |
Genearate Flow at the begining.
this function may be executed in parent class CartBoxFDM.
ftype | flow type enum |
time | time |
References InitPChnFlow(), and InitTCF().
|
private |
References solver::fluidsol::FluidSolBase::fparams, solver::CartDataSpace< N_dim, 999 >::gb_domain_size, solver::CartDataSpace< N_dim, 999 >::ghost_size, gsmpi::GSMPI_REAL, solver::CartDataSpace< N_dim, 999 >::mesh_size, solver::CartDataSpace< N_dim, 999 >::mpicomm, and RandomNumber< T_real >::randr().
|
finaloverridevirtual |
References solver::CartDataSpace< N_dim, 999 >::mpicomm, and gsmpi::root.
|
private |
References dict, solver::fluidsol::FluidSolBase::fparams, solver::CartDataSpace< N_dim, 999 >::gb_domain_size, solver::CartDataSpace< N_dim, 999 >::ghost_size, gsmpi::GSMPI_REAL, solver::CartDataSpace< N_dim, 999 >::mesh_size, solver::CartDataSpace< N_dim, 999 >::mpicomm, mathconst::PI, and RandomNumber< T_real >::randr().
|
finaloverridevirtual |
Implements solver::fluidsol::FluidSolBase.
References AddDpDx(), CalDpDxAndFixFlux(), dict, dmdyn::init::None(), and solver::fluidsol::FluidSolBase::SolveStageOne().
|
finaloverridevirtual |
References solver::CartDataSpace< N_dim, 999 >::gb_mesh_size, solver::CartDataSpace< N_dim, 999 >::ghost_size, solver::Solver::globaldict, fileio::intTostr(), quadpack::max(), solver::CartDataSpace< N_dim, 999 >::mpicomm, and gsmpi::root.
|
finaloverridevirtual |
References solver::CartDataSpace< N_dim, 999 >::gb_domain_size, solver::CartDataSpace< N_dim, 999 >::gb_mesh_size, solver::CartDataSpace< N_dim, 999 >::ghost_size, solver::Solver::globaldict, solver::Solver::kvisc, solver::CartDataSpace< N_dim, 999 >::mesh_size, solver::CartDataSpace< N_dim, 999 >::mpicomm, and gsmpi::root.
struct { ... } CartBoxFDMChannel3D::dict |
DpDxType CartBoxFDMChannel3D::dpdx_type |