diff --git a/P01_Flate_Plate_1_Part/bin/cfd_para.hypara b/P01_Flate_Plate_1_Part/bin/cfd_para.hypara index 454e923a..c22beb18 100644 --- a/P01_Flate_Plate_1_Part/bin/cfd_para.hypara +++ b/P01_Flate_Plate_1_Part/bin/cfd_para.hypara @@ -921,7 +921,4 @@ int numberOfMovingBodies = 2; ######################################################################### int isPlotVolumeField = 0; -######################################################################### -# Particle # -######################################################################### -int iParticleModel = 0; + diff --git a/P01_Flate_Plate_1_Part/bin/cfd_para_subsonic.hypara b/P01_Flate_Plate_1_Part/bin/cfd_para_subsonic.hypara index b4f01d79..f7c22230 100644 --- a/P01_Flate_Plate_1_Part/bin/cfd_para_subsonic.hypara +++ b/P01_Flate_Plate_1_Part/bin/cfd_para_subsonic.hypara @@ -134,7 +134,7 @@ double venkatCoeff = 50.0; // 1 -- is recommended for structured solver. // 1-3 -- is recommended for unstructured solver. -int iunsteady = 0; +int iunsteady = 1; double CFLEnd = 100.0; @@ -196,7 +196,3 @@ int limitVector = 0; double MUSCLCoefXk = 0.333333; -######################################################################### -# Particle # -######################################################################### -int iParticleModel = 1; \ No newline at end of file diff --git a/P01_Flate_Plate_1_Part/bin/key.hypara b/P01_Flate_Plate_1_Part/bin/key.hypara index 0400d3ad..34e76a23 100644 --- a/P01_Flate_Plate_1_Part/bin/key.hypara +++ b/P01_Flate_Plate_1_Part/bin/key.hypara @@ -16,7 +16,7 @@ string defaultParaFile = "./bin/cfd_para.hypara"; // 3 -- Grid partition. // 4 -- Knowledge repository / examples of PHengLEI-API. int ndim = 2; -int nparafile = 1; +int nparafile = 2; int nsimutask = 0; string parafilename = "./bin/cfd_para_subsonic.hypara"; @@ -51,3 +51,5 @@ int numberOfGridProcessor = 0; // ATP read //@string parafilename1 = "" //@string parafilename2 = ""; + +string parafilename1 = "./bin/particle_para.hypara"; \ No newline at end of file diff --git a/P01_Flate_Plate_1_Part/bin/particle_para.hypara b/P01_Flate_Plate_1_Part/bin/particle_para.hypara new file mode 100644 index 00000000..b116fa12 --- /dev/null +++ b/P01_Flate_Plate_1_Part/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"; \ No newline at end of file diff --git a/P01_Flate_Plate_1_Part/bin/particlepoint_para.hypara b/P01_Flate_Plate_1_Part/bin/particlepoint_para.hypara index bb1f3ff6..a2c448be 100644 --- a/P01_Flate_Plate_1_Part/bin/particlepoint_para.hypara +++ b/P01_Flate_Plate_1_Part/bin/particlepoint_para.hypara @@ -81,11 +81,4 @@ int forceBassetType = 1; //! fileParticleOutputType: Control which variable need to output. //! 0 -- No output. string fileParticleOutput = "./result/particleOutput.dat"; -int fileParticleOutputType = 0; - -//! ######################################################################### -//! # File in and out # -//! ######################################################################### -string initParticleFile = "./grid/particle_init.h5"; -//string restartParticleFile = "./grid/particle_restart.h5"; -string restartParticleFile = ""; \ No newline at end of file +int fileParticleOutputType = 0; \ No newline at end of file diff --git a/P01_Flate_Plate_1_Part/grid/particle_init.h5 b/P01_Flate_Plate_1_Part/grid/particle_init.h5 index 3aa65dca..08818cbd 100644 Binary files a/P01_Flate_Plate_1_Part/grid/particle_init.h5 and b/P01_Flate_Plate_1_Part/grid/particle_init.h5 differ