From 8f153b681d6f2b511a287c6c99bffb766f855b19 Mon Sep 17 00:00:00 2001 From: JokerRayL Date: Fri, 10 Sep 2021 16:21:24 +0800 Subject: [PATCH 1/3] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E4=BA=86=E9=A2=97?= =?UTF-8?q?=E7=B2=92=E5=88=A4=E5=AE=9A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- P01_Flate_Plate_1_Part/bin/cfd_para_subsonic.hypara | 2 +- P01_Flate_Plate_1_Part/bin/particlepoint_para.hypara | 7 +++++-- 2 files changed, 6 insertions(+), 3 deletions(-) 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..99de25db 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; diff --git a/P01_Flate_Plate_1_Part/bin/particlepoint_para.hypara b/P01_Flate_Plate_1_Part/bin/particlepoint_para.hypara index bb1f3ff6..e7d7da67 100644 --- a/P01_Flate_Plate_1_Part/bin/particlepoint_para.hypara +++ b/P01_Flate_Plate_1_Part/bin/particlepoint_para.hypara @@ -86,6 +86,9 @@ int fileParticleOutputType = 0; //! ######################################################################### //! # 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"; -string restartParticleFile = ""; \ No newline at end of file +string restartParticleFile = "./grid/particle_restart.h5"; \ No newline at end of file From 64b6814c78368da079024ee9abd799a3efa8515e Mon Sep 17 00:00:00 2001 From: JokerRayL Date: Tue, 28 Sep 2021 03:09:15 +0800 Subject: [PATCH 2/3] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E5=8F=82=E6=95=B0?= =?UTF-8?q?=E8=A1=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- P01_Flate_Plate_1_Part/bin/cfd_para.hypara | 5 +---- .../bin/cfd_para_subsonic.hypara | 4 ---- P01_Flate_Plate_1_Part/bin/key.hypara | 4 +++- .../bin/particlepoint_para.hypara | 12 +----------- P01_Flate_Plate_1_Part/grid/particle_init.h5 | Bin 11400 -> 11400 bytes 5 files changed, 5 insertions(+), 20 deletions(-) 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 99de25db..f7c22230 100644 --- a/P01_Flate_Plate_1_Part/bin/cfd_para_subsonic.hypara +++ b/P01_Flate_Plate_1_Part/bin/cfd_para_subsonic.hypara @@ -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/particlepoint_para.hypara b/P01_Flate_Plate_1_Part/bin/particlepoint_para.hypara index e7d7da67..a2c448be 100644 --- a/P01_Flate_Plate_1_Part/bin/particlepoint_para.hypara +++ b/P01_Flate_Plate_1_Part/bin/particlepoint_para.hypara @@ -81,14 +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 # -//! ######################################################################### -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 +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 3aa65dca9cbf9d63d17c90ae62e0ca498733bee8..08818cbd746b53f4d884db9c904879c64bc55da7 100644 GIT binary patch delta 307 zcmeB(?1>y_QJ9(U`D+7NydP`AN;>PV|`%% z^KU`X_r`VhA%#2lu!nxM|6L-RaZ&k`ee;)T?~`vnvcIWhHl^p}Bl~G?@YLSEXlQ#%uO@1V)1a&}TKxF6a{iQ!2+oyir*Pis{ zvi+5VwTDmbKVh$OQO#Ln-4*-g>92SEJFwY4-L|*Kn0>eXN3q-UFUh{J-zzRQNxtfZ zJ+H*gBk{#|?Y}G&eH>P^0%C!aG{k~_<(HcSWK5XBw#AE2+$^CW!o-{g^sc^AEF+lF buMG4qNMybGQkaxACpoXz(IVwu1Udtq4?Fe6_4Bx6AJuC5GopQ~vSyq-NgHB Date: Thu, 30 Sep 2021 10:14:01 +0800 Subject: [PATCH 3/3] =?UTF-8?q?=E5=AF=B9=E9=A2=97=E7=B2=92=E5=8F=82?= =?UTF-8?q?=E6=95=B0=E5=88=86=E7=A6=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- P01_Flate_Plate_1_Part/bin/particle_para.hypara | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 P01_Flate_Plate_1_Part/bin/particle_para.hypara 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