|
virtual void | Prepare () |
| prepare of ppsol, such as building particle types, init of point-particle interaction More...
|
|
void | CreateParticle () |
|
void | InitSmartParticleModule () |
| initialize the smart particle functions (sensor & actor) More...
|
|
void | SensorGetState (const int &istep, const Real &time) |
| get the state of each particle More...
|
|
void | ActorTakeAction (const int &istep, const Real &time) |
| take actions on the particles More...
|
|
void | AgentDecideAction (const int &istep, const Real &time) |
| decide action according to the state More...
|
|
| CartPPSol () |
| Set the ptr_point_particlesol pointer to this class CartPPSol<N_dim, SpaceID> More...
|
|
virtual | ~CartPPSol () |
|
virtual void | SetMPI () |
| set MPI of ppsol More...
|
|
virtual void | Init (const int &step, const Real &time) |
| Init of particle fields and related operations. More...
|
|
virtual void | Solve (const int &step, const Real &time) |
| Core of PPsol. More...
|
|
virtual void | Finish (const int &step, const Real &time) |
| some operations when ppsol is finished More...
|
|
virtual void | WritePPFields (const int &step, const Real &time) |
| write point-particle field by hdf5 More...
|
|
virtual void | WriteMidPPFields (const int &step, const Real &time) |
| write mid point-particle field by hdf5 More...
|
|
virtual void | LoadPPFields (const int &step, const Real &time) |
| load point-particle field from onestep file More...
|
|
virtual void | LoadMidPPFields (const int &step, const Real &time) |
| load point-particle field from mid file More...
|
|
virtual std::string | GetSolverName () |
| Get the Solver Name object. More...
|
|
virtual int | PPSolID () |
|
void | CreateParticle () |
| Create Particle models from PartInfo.in. More...
|
|
ParticleModel * | ParticleFactory (const int &modelid, const int &size0, const tml::tmlnode &cfgbasic, const tml::tmlnode &cfgextend, const Real &kvisc, const Real &fdensity) |
| Factory of particle models. More...
|
|
void | CreatePRIBMIfNecessary () |
| create pr_ibm by particle type More...
|
|
void | CalPRIBMForceIfNecessary (SmartPList< ParticleField< N_dim >> &pflist, Real dt0) |
|
void | CombinePRIBMForce (SmartPList< ParticleField< N_dim >> &pflist, Real dt0) |
|
void | CreateSmartPList (SmartPList< ParticleField< N_dim >> &pflist, const int size0) |
| Create a ParticleFieldlist by SmartPList. More...
|
|
void | CreateSmartPListFromPartDataList (SmartPList< ParticleField< N_dim >> &pflist) |
|
void | InitPartDataList () |
| init particle position More...
|
|
void | ClearPartDataList () |
|
void | FromRandom (SmartPList< ParticleField< N_dim >> &pflist) |
| generate positions from Random numbers More...
|
|
void | InitOrientation (SmartPList< ParticleField< N_dim >> &pflist) |
| init particle orientation More...
|
|
void | RandomOrientation (SmartPList< ParticleField< N_dim >> &pflist) |
| generate orientations from random numbers More...
|
|
void | InitPModelData (SmartPList< ParticleField< N_dim >> &pflist) |
| initialize the pmodel_data array in each particlefield More...
|
|
void | FromFile (SmartPList< ParticleField< N_dim >> &pflist) |
| generate position from File More...
|
|
void | Interpolate (SmartPList< ParticleField< N_dim >> &pflist) |
| the fluid informatioins located at particles are interpolated from surrounding meshes More...
|
|
void | InterpFluidVel (ParticleField< N_dim > &pfield) |
| interpolate fluid velocity of a particle More...
|
|
void | InterpFluidVelGrad (ParticleField< N_dim > &pfield) |
| interpolate fluid velocity gradient of a particle More...
|
|
void | InitVelAndAVel (SmartPList< ParticleField< N_dim >> &pflist) |
| Init of particle velocity and Angular Velocity. More...
|
|
void | InitVelAndAVelWithLocalFlow (SmartPList< ParticleField< N_dim >> &pflist) |
| Init of particle velocity and Angular Velocity By local flows. More...
|
|
void | InitVelAndAVelWithInputValues (SmartPList< ParticleField< N_dim >> &pflist) |
|
void | InitOrientationWithInputValues (SmartPList< ParticleField< N_dim >> &pflist) |
|
void | vSolve (SmartPList< ParticleField< N_dim >> &pflist) |
| sub solver in Solve() More...
|
|
void | CalContactForce (SmartPList< ParticleField< N_dim >> &pflist, int jp) |
|
void | UpdatePPCollisionCountIfNecessary (SmartPList< ParticleField< N_dim >> &pflist, int jp) |
|
void | vSolveRK3 (SmartPList< ParticleField< N_dim >> &pflist) |
| sub solver in Solve() by RK3 More...
|
|
ParticleData< N_dim > | dSolve (Real t, ParticleData< N_dim > dsol, ParticleField< N_dim > &pfield) |
| dSolve:increment of particle [will be abandoned in future] More...
|
|
void | BoundaryOfPossiblePeriodic (ParticleField< N_dim > &p) |
| Particle Boundary. More...
|
|
void | BoundaryOfPossibleSimpleWall (ParticleField< N_dim > &p) |
|
void | BoundaryIfNecessary (ParticleField< N_dim > &p) |
|
void | ParticleSendRecv (SmartPList< ParticleField< N_dim >> &pflist) |
| particle sendrecv process More...
|
|
void | PrepareParticleSendRecv (SmartPList< ParticleField< N_dim >> &pflist) |
|
void | VirtualParticleSendRecv (SmartPList< ParticleField< N_dim >> &pflist) |
| particle sendrecv process for virtual particles More...
|
|
void | VirtualIBMParticleSendRecvBackward (SmartPList< ParticleField< N_dim >> &pflist) |
| the backward of the IBM particle sendrecv process for virtual particles, More...
|
|
void | PrepareSendRecvForVirtualRegion (SmartPList< ParticleField< N_dim >> &pflist, Real fac) |
| Preparation of particle sendrecv for virtual particles. More...
|
|
void | UpdateVirtualParticle (SmartPList< ParticleField< N_dim >> &pflist) |
| update virtual particle More...
|
|
void | ScatterOutput (const int istep, const Real &time) |
| ouput scatter of particles rank-by-rank (excluding virtual particles) More...
|
|
void | ScatterOutputVirtual (const int istep, const Real &time) |
| output scatter of particles in virtual region rank-by-rank (only for testing) More...
|
|
void | ConfigPPDict () |
| Config PPDict. More...
|
|
bool | IsInCurrentZone (const Real pos[]) |
|
bool | IsInCurrentZone (const std::vector< Real > pos) |
|
int | NextZoneIndex (const Real pos[]) |
| which next zone should particle locate at? More...
|
|
int | NextZoneIndex (const std::vector< Real > pos) |
| which next zone should particle locate at? More...
|
|
void | NextZoneIndexVirtualRegion (const Real pos[], std::vector< int > &index, const double r) |
| which next zone should virtual particle locate at? More...
|
|
void | UpdateLocalSize () |
| update local size of current rank in ppsol More...
|
|
void | UpdateTotalSizeForEachTypeParticle () |
| update total size for each type of particle More...
|
|
void | UpdateLocalSizeFromPFieldList () |
| Update localsize of different kinds of particles from existing ParticleFieldList. More...
|
|
bool | WhetherConsiderPPInteraction () |
| check whether consider particle-particle interaction More...
|
|
bool | WhetherConsiderPFCouple () |
| check whether consider Particle To Fluid interaction More...
|
|
void | Statistic (const int &istep, const Real &time) |
| statistc of particle fields More...
|
|
void | InitStatLogFile () |
| init statistic log file More...
|
|
Real | Distance (const ParticleField< N_dim > &pf_i, const ParticleField< N_dim > &pf_j) |
| Cal the distance between the particles. More...
|
|
Real | Distance (Vecr< N_dim > &pos_i, Vecr< N_dim > &pos_j) |
|
| PPSolBase () |
|
virtual | ~PPSolBase () |
|
| Solver () |
|
virtual | ~Solver () |
|
void | PrintAbstract () |
|
void | Relase (const SolverNameList &flag) |
|
void | ConfigGlobalDict (const std::string filename) |
|
void | PrintConfigGlobalDict () |
|
virtual std::string | GetMeshName () |
|
| CartDataSpace () |
|
| ~CartDataSpace () |
|
void | ConfigDataSpaceDict () |
| config information of mpi from ControlDict.in More...
|
|
void | CheckConfigDataSpaceDict () |
|
template<int N_dim>
class solver::ppsol::CartSmartPPSol< N_dim >
smart Point-Particle Solver in a Cartesian box
- Authors
- Jingran Qiu
- Template Parameters
-
N_dim | dimension should be 2 or 3 |