DualSPHysicsをコマンドラインで実行

DualSPHysicsをコマンドプロンプトで実行したときの表示例です。
データはDesignSPHysicsから出力したケースを使います。

SET PATH=F:\DualSPHysics\DualSPHysics_v5.2\bin\windows;%PATH%


F:\DualSPHysics\01>cd 01_out
F:\DualSPHysics\01\01_out>dir

F:\DualSPHysics\01\01_out のディレクトリ

2024/12/14  13:41    <DIR>          .
2024/12/14  13:41    <DIR>          ..
2024/11/15  01:08       813,032,301 01.bi4
2024/11/15  01:08             4,474 01.out
2024/11/15  01:08             8,455 01.xml
2024/11/15  01:08       776,075,253 01_All.vtk
2024/11/15  01:08        26,586,036 01_Bound.vtk
2024/11/15  01:08       749,489,505 01_Fluid.vtk
2024/11/15  01:08         2,324,046 01_MkCells.vtk
2024/11/15  01:08            23,033 01__Actual.vtk
2024/11/15  01:08            22,985 01__Dp.vtk
2024/12/14  14:47               622 CfgInit_Domain.vtk
2024/12/14  14:47            16,012 CfgInit_MapCells.vtk
2024/12/14  13:41             1,597 PartInfo.ibi4
2024/12/14  14:47               584 PartOut_000.obi4
2024/12/14  13:41       591,296,930 Part_0000.bi4
2024/12/14  14:47             1,698 Part_Head.ibi4
              15 個のファイル       2,958,883,531 バイト
               2 個のディレクトリ  12,436,860,928 バイトの空き領域

F:\DualSPHysics\01\01_out>DualSPHysics5.2CPU_win64.exe 01
F:\DualSPHysics\DualSPHysics_v5.2\bin\windows>DualSPHysics5.2CPU_win64.exe

<DUALSPHYSICS5> Copyright (c) 2023 by

Dr Jose M. Dominguez Alonso, Dr Alejandro Crespo,

Prof. Moncho Gomez Gesteira, Prof. Benedict Rogers,

Dr Georgios Fourtakas, Prof. Peter Stansby,

Dr Renato Vacondio, Dr Corrado Altomare, Dr Angelo Tafuni,

Dr Orlando Garcia Feal, Ivan Martinez Estevez,

Dr Joseph O'Connor, Dr Aaron English

EPHYSLAB Environmental Physics Laboratory, Universidade de Vigo

School of Mechanical, Aerospace and Civil Engineering, University of Manchester

DualSPHysics is free software: you can redistribute it and/or

modify it under the terms of the GNU Lesser General Public License

as published by the Free Software Foundation, either version 2.1 of

the License, or (at your option) any later version.

DualSPHysics is distributed in the hope that it will be useful,

but WITHOUT ANY WARRANTY; without even the implied warranty of

MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the

GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License

along with DualSPHysics. If not, see <http://www.gnu.org/licenses/>.

Free download source files and documentation from DualSPHysics website (http://dual.sphysics.org).

Full list of developers and contributors is available at https://dual.sphysics.org/developers

Properly cite the use of DualSPHysics (Dominguez et al., 2022) (https://dual.sphysics.org/references).

DualSPHysics5 v5.2.274 (02-02-2024)

====================================

LoadDsphConfig> .../bin/windows/DsphConfig.xml

Information about execution parameters:

DualSPHysics [name_case [dir_out]] [options]

General options:

-h Shows information about parameters

-ver Shows version information

-info Shows version features in JSON format

-opt <file> Loads a file configuration

Execution options:

-cpu Execution on CPU (option by default)

-gpu[:id] Execution on GPU and id of the device

-stable The result is always the same but the execution is slower

-saveposdouble:<0/1> Saves position using double precision (default=0)

-svextraparts:<int> PART interval for saving extra data (default=0)

-svextraparts:<list> List of PARTs for saving extra data (default=0)

-ompthreads:<int> Only for CPU execution, indicates the number of threads

by host for parallel execution, this takes the number of

cores of the device by default (or using zero value)

-cellmode:<mode> Specifies the cell division mode

full Lowest and the least expensive in memory (by default)

half Fastest and the most expensive in memory

-cellfixed:<0/1> Cell domain is fixed according maximum domain size

Formulation options:

-dbc Dynamic Boundary Condition DBC (by default)

-mdbc Modified Dynamic Boundary Condition mDBC (mode: vel=0)

-mdbc_noslip Modified Dynamic Boundary Condition mDBC (mode: no-slip)

-mdbc_freeslip Modified Dynamic Boundary Condition mDBC (mode: free-slip)

-mdbc_fast:<0/1> Fast single precision calculation on GPU (default=1)

-mdbc_threshold:<float> Kernel support limit to apply mDBC correction [0-1]

-initnorpla:<inlinecfg> Initialize definition for <boundnormal_plane>

-initnorpart:<inlinecfg> Initialize definition for <boundnormal_parts>

-symplectic Symplectic algorithm as time step algorithm

-verlet[:steps] Verlet algorithm as time step algorithm and number of

time steps to switch equations

-wendland Wendland kernel (by default)

-cubic Cubic spline kernel

-viscoart:<float> Artificial viscosity [0-1]

-viscolamsps:<float> Laminar+SPS viscosity [order of 1E-6]

-viscoboundfactor:<float> Multiplies the viscosity value of boundary

-ddt:<mode> Specifies the Density Diffusion Term to correct density

none Not used (by default)

1 Diffusion term by Molteni and Colagrossi 2009

2 Diffusion term by Fourtakas et al 2019 (inner fluid particles)

3 Diffusion term by Fourtakas et al 2019 (all fluid particles)

-ddtvalue:<float> Constant for DDT (0.1 by default)

-ddtramp:tramp:tmax:maxvalue Total time of DDT ramp and time for maxvalue

-shifting:<mode> Specifies the use of Shifting correction

none Shifting is disabled (by default)

nobound Shifting is not applied near boundary

nofixed Shifting is not applied near fixed boundary

full Shifting is always applied

Simulation options:

-name <string> Specifies path and name of the case

-runname <string> Specifies name for case execution

-dirout <dir> Specifies the general output directory

-dirdataout <dir> Specifies the output subdirectory for binary data

-partbegin:begin[:first] dir

Specifies the beginning of the simulation starting from a given PART

(begin) and located in the directory (dir), (first) indicates the

number of the first PART to be generated

-restartchrono:<0/1> Allows restart with Chrono active (default=0)

-tmax:<float> Maximum time of simulation

-tout:<float> Time between output files

-cfl:<float> CFL number coefficient to multiply dt

-ftpause:<float> Time to start floating bodies movement. By default 0

-rhopout:min:max Excludes fluid particles out of these density limits

-domain_fixed:xmin:ymin:zmin:xmax:ymax:zmax The domain is fixed

with the specified values

Output options:

-sv:[formats,...] Specifies the output formats.

none No particles files are generated

binx Binary files (by default)

info Information about execution in .ibi4 format (by default)

vtk VTK files

csv CSV files

-svnormals:<0/1> Saves normal vector of boundary particles (default=0)

-svres:<0/1> Generates file that summarises the execution process

-svtimers:<0/1> Obtains timing for each individual process

-svdomainvtk:<0/1> Generates VTK file with domain limits

-svpips:<mode>:n Compute PIPS of simulation each n steps (100 by default),

mode options: 0=disabled (by default), 1=no save details, 2=save details

-createdirs:<0/1> Creates full path for output files

(value by default is read from DsphConfig.xml or 1)

-csvsep:<0/1> Separator character in CSV files (0=semicolon, 1=coma)

(value by default is read from DsphConfig.xml or 0)

Debug options:

-nsteps:<uint> Maximum number of steps allowed (activates nortimes)

-svsteps:<0/1> Saves a PART for each step (activates nortimes)

-nortimes:<0/1> Removes execution dependent values from bi4 files

Examples:

DualSPHysics case out_case -sv:binx,csv

DualSPHysics -name case -dirout out_case -sv:binx,csv

Finished execution (code=0).

F:\DualSPHysics\DualSPHysics_v5.2\bin\windows>SET PATH=F:\DualSPHysics\DualSPHysics_v5.2\bin\windows;%PATH%

F:\DualSPHysics\01>dir

ドライブ F のボリューム ラベルは ボリューム です

ボリューム シリアル番号は 98CF-EEE3 です

F:\DualSPHysics\01 のディレクトリ

2024/11/15 01:08 <DIR> .

2024/11/15 01:08 <DIR> ..

2024/11/15 01:08 6,485 01_Def.xml

2024/11/15 01:08 <DIR> 01_out

2024/11/15 01:08 10,409 casedata.dsphdata

2024/11/15 01:08 24,420 DSPH_Case.20241115-010836.FCBak

2024/11/15 01:08 24,420 DSPH_Case.FCStd

2024/11/15 01:08 68 materials.xml

5 個のファイル 65,802 バイト

3 個のディレクトリ 13,028,188,160 バイトの空き領域
F:\DualSPHysics\01>cd 01_out

F:\DualSPHysics\01\01_out>dir

ドライブ F のボリューム ラベルは ボリューム です

ボリューム シリアル番号は 98CF-EEE3 です

F:\DualSPHysics\01\01_out のディレクトリ

2024/11/15 01:08 <DIR> .

2024/11/15 01:08 <DIR> ..

2024/11/15 01:08 813,032,301 01.bi4

2024/11/15 01:08 4,474 01.out

2024/11/15 01:08 8,455 01.xml

2024/11/15 01:08 776,075,253 01_All.vtk

2024/11/15 01:08 26,586,036 01_Bound.vtk

2024/11/15 01:08 749,489,505 01_Fluid.vtk

2024/11/15 01:08 2,324,046 01_MkCells.vtk

2024/11/15 01:08 23,033 01__Actual.vtk

2024/11/15 01:08 22,985 01__Dp.vtk

9 個のファイル 2,367,566,088 バイト

2 個のディレクトリ 13,028,188,160 バイトの空き領域
F:\DualSPHysics\01\01_out>DualSPHysics5.2CPU_win64.exe 01

<DUALSPHYSICS5> Copyright (c) 2023 by

Dr Jose M. Dominguez Alonso, Dr Alejandro Crespo,

Prof. Moncho Gomez Gesteira, Prof. Benedict Rogers,

Dr Georgios Fourtakas, Prof. Peter Stansby,

Dr Renato Vacondio, Dr Corrado Altomare, Dr Angelo Tafuni,

Dr Orlando Garcia Feal, Ivan Martinez Estevez,

Dr Joseph O'Connor, Dr Aaron English

EPHYSLAB Environmental Physics Laboratory, Universidade de Vigo

School of Mechanical, Aerospace and Civil Engineering, University of Manchester

DualSPHysics is free software: you can redistribute it and/or

modify it under the terms of the GNU Lesser General Public License

as published by the Free Software Foundation, either version 2.1 of

the License, or (at your option) any later version.

DualSPHysics is distributed in the hope that it will be useful,

but WITHOUT ANY WARRANTY; without even the implied warranty of

MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the

GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License

along with DualSPHysics. If not, see <http://www.gnu.org/licenses/>.

Free download source files and documentation from DualSPHysics website (http://dual.sphysics.org).

Full list of developers and contributors is available at https://dual.sphysics.org/developers

Properly cite the use of DualSPHysics (Dominguez et al., 2022) (https://dual.sphysics.org/references).

DualSPHysics5 v5.2.274 (02-02-2024)

====================================

Threads by host for parallel execution: 4

[Initialising JSphCpuSingle 14-12-2024 13:41:46]

ProgramFile=".../01/01_out/DualSPHysics5.2CPU_win64.exe"

ExecutionDir=".../DualSPHysics/01/01_out"

XmlFile=".../01/01_out/01.xml"

OutputDir=".../DualSPHysics/01/01_out"

OutputDataDir=".../DualSPHysics/01/01_out"

XML-App: GenCase v5.0.283 (05-06-2023)

XML-Vars (uservars + ctes): MResId=[0] CaseName=["01"] Data2D=[0] Data2DPosy=[0] H=[0.0207846] KernelSize=[0.0415692] B=[1.11554e+06] Gamma=[7] Rhop0=[1000] Dp=[0.01] Gravity_x=[0] Gravity_y=[0] Gravity_z=[-9.81] MassFluid=[0.001] MassBound=[0.001]

XML-Vars (parameters): TimeMax=[60] TimeOut=[0.01]

**Basic case configuration is loaded

**Special case configuration is loaded

Loading initial state of particles...

Loaded particles: 18477975

MapRealPos(border)=(-1.50104,-1.50104,-0.00103923)-(1.50104,1.50104,2.50104)

MapRealPos(final)=(-1.50104,-1.50104,-0.00103923)-(1.50104,1.50104,2.50104)

**Initial state of particles is loaded

**3D-Simulation parameters:

CaseName="01"

RunName="01"

Symmetry=False

SavePosDouble=False

SvExtraParts=""

SaveFtAce=False

SvTimers=True

Boundary="DBC"

StepAlgorithm="Symplectic"

Kernel="Wendland"

Wendland.awen=46528.82

Wendland.bwen=-1.119315e+07

Viscosity="Artificial"

Visco=0.01

ViscoBoundFactor=1

DensityDiffusion="None"

Shifting="None"

RigidAlgorithm="None"

FloatingCount=0

CaseNp=18477975

CaseNbound=632994

CaseNfixed=632994

CaseNmoving=0

CaseNfloat=0

CaseNfluid=17844981

PeriodicActive="None"

Dp=0.01

KernelH=0.020785 (CoefficientH=1.2; H/Dp=2.07846)

KernelSize=0.04156922

CteB=1115537

Gamma=7

RhopZero=1000

Cs0=88.36718777351693

CFLnumber=0.2

DtIni=0.0002352073155595581

DtMin=1.176036595322101e-05

DtAllParticles=False

MassFluid=0.001

MassBound=0.001

TimeMax=60

TimePart=0.01

Gravity=(0,0,-9.81)

NpMinimum=632995

RhopOut=True

RhopOutMin=700

RhopOutMax=1300

WrnPartsOut=True

CellMode="Full"

ScellDiv=1

MapCells=(73,73,61)

CellDomFixed=False

**Requested CPU memory for 18478103 particles: 2749.0 MB.

DomCells=(73,73,61)

DomCellCode="1+11_11_9"

**CellDiv: Requested cpu memory for 19402001 particles: 592.1 MB.

**CellDiv: Requested cpu memory for 279276 cells (CellMode=Full): 4.3 MB.

RunMode="Pos-Double - OpenMP(Threads:4)"

Particle summary:

Fixed....: 632994 id:(0-632993) MKs:2 (11-12)

Moving...: 0

Floating.: 0

Fluid....: 17844981 id:(632994-18477974) MKs:1 (1)

Total particles: 18477975 (bound=632994 (fx=632994 mv=0 ft=0) fluid=17844981)

Total MK blocks: 3 (bound=2 (fx=2 mv=0 ft=0) fluid=1)

Allocated memory in CPU: 3507962640 (3345.45 MB)

Part_0000 18477975 particles successfully stored

[Initialising simulation (aztv0e6n) 14-12-2024 13:41:56]

PART PartTime TotalSteps Steps Time/Sec Finish time

========= ============ ============ ======= ========= ===================

コメントをどうぞ

メールアドレスが公開されることはありません。 が付いている欄は必須項目です