forked from PHengLEI/PHengLEI-TestCases
更新了particleModel
This commit is contained in:
parent
250732b958
commit
4380e4df5a
|
@ -0,0 +1,9 @@
|
||||||
|
int nBlocks = 1;
|
||||||
|
|
||||||
|
int nNodeX = 32;
|
||||||
|
int nNodeY = 32;
|
||||||
|
int nNodeZ = 1;
|
||||||
|
|
||||||
|
double lengthX = 6.283185307179586476925286766559;
|
||||||
|
double lengthY = 6.283185307179586476925286766559;
|
||||||
|
double lengthZ = 6.283185307179586476925286766559;
|
|
@ -16,7 +16,7 @@ string defaultParaFile = "./bin/cfd_para.hypara";
|
||||||
// 3 -- Grid partition.
|
// 3 -- Grid partition.
|
||||||
// 4 -- Knowledge repository / examples of PHengLEI-API.
|
// 4 -- Knowledge repository / examples of PHengLEI-API.
|
||||||
int ndim = 2;
|
int ndim = 2;
|
||||||
int nparafile = 1;
|
int nparafile = 2;
|
||||||
|
|
||||||
int nsimutask = 0;
|
int nsimutask = 0;
|
||||||
string parafilename = "./bin/cfd_para_subsonic.hypara";
|
string parafilename = "./bin/cfd_para_subsonic.hypara";
|
||||||
|
@ -51,3 +51,5 @@ int numberOfGridProcessor = 0;
|
||||||
// ATP read
|
// ATP read
|
||||||
//@string parafilename1 = ""
|
//@string parafilename1 = ""
|
||||||
//@string parafilename2 = "";
|
//@string parafilename2 = "";
|
||||||
|
|
||||||
|
string parafilename1 = "./bin/particle_para.hypara";
|
|
@ -0,0 +1,16 @@
|
||||||
|
#########################################################################
|
||||||
|
# Particle #
|
||||||
|
#########################################################################
|
||||||
|
int iParticleModel = 1;
|
||||||
|
|
||||||
|
string particleInterpolation_struct = "TrilinearInterpolation";
|
||||||
|
|
||||||
|
//! #########################################################################
|
||||||
|
//! # File in and out #
|
||||||
|
//! #########################################################################
|
||||||
|
int ifInitParticle = 1;
|
||||||
|
int ifReadRestartParticle = 0;
|
||||||
|
int ifWirteRestartParticle = 1;
|
||||||
|
|
||||||
|
string initParticleFile = "./grid/particle_init.h5";
|
||||||
|
string restartParticleFile = "./grid/particle_restart.h5";
|
|
@ -0,0 +1,84 @@
|
||||||
|
//! @file particle_point_para.hypara
|
||||||
|
//! @brief This file is the parameter for particle track model
|
||||||
|
//! @author Lei Yinghaonan.
|
||||||
|
|
||||||
|
//! #########################################################################
|
||||||
|
//! # General Global Control Parameter of Simulation #
|
||||||
|
//! #########################################################################
|
||||||
|
//! simulationDimensionType: The type of Dimensionless method.
|
||||||
|
//! 0 -- The parameter is nondimensional.
|
||||||
|
//! which is unified with RunCFD.
|
||||||
|
//! 1 -- The dimension is separated from RunCFD.
|
||||||
|
//! simulationCollisionType: The type of Collision method.
|
||||||
|
//! 0 -- No collision
|
||||||
|
//! 1 -- Use DEM.
|
||||||
|
//! 2 -- Use collision function.
|
||||||
|
//! simulationSplashFunction: The type of SplashFunction.
|
||||||
|
//! 0 -- No Splash.
|
||||||
|
//! 1 -- Use splash function on wall.
|
||||||
|
//! simulationPointRotate: If use Rotate.
|
||||||
|
//! 0 -- No Rotate.
|
||||||
|
//! 1 -- Caculate the Rotate of point.
|
||||||
|
int simulationDimensionType = 0;
|
||||||
|
int simulationCollisionType = 0;
|
||||||
|
int simulationSplashFunction = 0;
|
||||||
|
int simulationPointRotate = 0;
|
||||||
|
|
||||||
|
//! #########################################################################
|
||||||
|
//! # Pyhsical Parameter on Each Particle #
|
||||||
|
//! #########################################################################
|
||||||
|
//! refDimensionedLength: Dimensioned length,L-(m).
|
||||||
|
//! refDimensionedMass: Dimensioned mass,m-(kg).
|
||||||
|
//! refDimensionedTime: Dimensioned time,t-(s).
|
||||||
|
//! refDimensionedTemperature: Dimensioned temperature,K-(K).
|
||||||
|
double refDimensionedLength = 1.0;
|
||||||
|
double refDimensionedMass = 1.0;
|
||||||
|
double refDimensionedTime = 1.0;
|
||||||
|
double refDimensionedTemperature = 1.0;
|
||||||
|
|
||||||
|
//! nInitGlobalParticle: The number of particles on all zones when program start.
|
||||||
|
//! particleDiameter: The dimensionless dimaeter of particle.
|
||||||
|
//! particleDensity: The dimensionless density of particle.
|
||||||
|
//! particleTemperature: The dimensionless Temperature of particle.
|
||||||
|
int nInitGlobalParticle = 10;
|
||||||
|
int nParticleGroup = 1;
|
||||||
|
double particleDiameter = 1.0;
|
||||||
|
double particleDensity = 1.0;
|
||||||
|
double particleTemperature = 1.0;
|
||||||
|
|
||||||
|
//! #########################################################################
|
||||||
|
//! # Particle force model #
|
||||||
|
//! #########################################################################
|
||||||
|
//! nParticleForce: The number of force on particle.
|
||||||
|
//! See more on Maxey 1983.
|
||||||
|
//! useSlipVelocityType: The way of how to caculate the slip velocity on particle.
|
||||||
|
//! forceXXXType: Particle force model
|
||||||
|
//! 0 -- do not use XXX type.
|
||||||
|
//! 1~n -- force model.
|
||||||
|
int nParticleForce = 6;
|
||||||
|
int useSlipVelocityType =0;
|
||||||
|
|
||||||
|
//! The quasi-steady force (steady-state resistance) force
|
||||||
|
int forceDragType = 1;
|
||||||
|
|
||||||
|
//! The lift force
|
||||||
|
int forceMagnusType = 1;
|
||||||
|
int forceSaffmanType = 1;
|
||||||
|
|
||||||
|
//! The stress-gradient force
|
||||||
|
int forceFluidAccelerationType = 1;
|
||||||
|
|
||||||
|
//! The added-mass force
|
||||||
|
int forceAddedMassType = 1;
|
||||||
|
|
||||||
|
//! The Basset history force;
|
||||||
|
int forceBassetType = 1;
|
||||||
|
|
||||||
|
//! #########################################################################
|
||||||
|
//! # Output Variable #
|
||||||
|
//! #########################################################################
|
||||||
|
//! fileParticleOutput: Output file for particle.
|
||||||
|
//! fileParticleOutputType: Control which variable need to output.
|
||||||
|
//! 0 -- No output.
|
||||||
|
string fileParticleOutput = "./result/particleOutput.dat";
|
||||||
|
int fileParticleOutputType = 0;
|
Loading…
Reference in New Issue