mirror of
https://github.com/ParticulateFlow/CFDEMcoupling-PFM.git
synced 2025-12-08 06:37:44 +00:00
clean up whitespaces and fix headers in tutorial files
This commit is contained in:
@ -1,9 +1,9 @@
|
|||||||
/*--------------------------------*- C++ -*----------------------------------*\
|
/*--------------------------------*- C++ -*----------------------------------*\
|
||||||
| ========= | |
|
========= |
|
||||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
| \\ / O peration | Version: 1.6 |
|
\\ / O peration | Website: https://openfoam.org
|
||||||
| \\ / A nd | Web: http://www.OpenFOAM.org |
|
\\ / A nd | Version: 6
|
||||||
| \\/ M anipulation | |
|
\\/ M anipulation |
|
||||||
\*---------------------------------------------------------------------------*/
|
\*---------------------------------------------------------------------------*/
|
||||||
FoamFile
|
FoamFile
|
||||||
{
|
{
|
||||||
|
|||||||
@ -1,9 +1,9 @@
|
|||||||
/*--------------------------------*- C++ -*----------------------------------*\
|
/*--------------------------------*- C++ -*----------------------------------*\
|
||||||
| ========= | |
|
========= |
|
||||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
| \\ / O peration | Version: 1.6 |
|
\\ / O peration | Website: https://openfoam.org
|
||||||
| \\ / A nd | Web: www.OpenFOAM.org |
|
\\ / A nd | Version: 6
|
||||||
| \\/ M anipulation | |
|
\\/ M anipulation |
|
||||||
\*---------------------------------------------------------------------------*/
|
\*---------------------------------------------------------------------------*/
|
||||||
FoamFile
|
FoamFile
|
||||||
{
|
{
|
||||||
|
|||||||
@ -1,9 +1,9 @@
|
|||||||
/*--------------------------------*- C++ -*----------------------------------*\
|
/*--------------------------------*- C++ -*----------------------------------*\
|
||||||
| ========= | |
|
========= |
|
||||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
| \\ / O peration | Version: 1.6 |
|
\\ / O peration | Website: https://openfoam.org
|
||||||
| \\ / A nd | Web: www.OpenFOAM.org |
|
\\ / A nd | Version: 6
|
||||||
| \\/ M anipulation | |
|
\\/ M anipulation |
|
||||||
\*---------------------------------------------------------------------------*/
|
\*---------------------------------------------------------------------------*/
|
||||||
FoamFile
|
FoamFile
|
||||||
{
|
{
|
||||||
|
|||||||
@ -1,9 +1,9 @@
|
|||||||
/*--------------------------------*- C++ -*----------------------------------*\
|
/*--------------------------------*- C++ -*----------------------------------*\
|
||||||
| ========= | |
|
========= |
|
||||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
| \\ / O peration | Version: dev |
|
\\ / O peration | Website: https://openfoam.org
|
||||||
| \\ / A nd | Web: www.OpenFOAM.org |
|
\\ / A nd | Version: 6
|
||||||
| \\/ M anipulation | |
|
\\/ M anipulation |
|
||||||
\*---------------------------------------------------------------------------*/
|
\*---------------------------------------------------------------------------*/
|
||||||
FoamFile
|
FoamFile
|
||||||
{
|
{
|
||||||
@ -42,38 +42,38 @@ boundary
|
|||||||
(
|
(
|
||||||
bottom
|
bottom
|
||||||
{
|
{
|
||||||
type cyclic;
|
type cyclic;
|
||||||
neighbourPatch top;
|
neighbourPatch top;
|
||||||
faces ((0 3 2 1));
|
faces ((0 3 2 1));
|
||||||
}
|
}
|
||||||
top
|
top
|
||||||
{
|
{
|
||||||
type cyclic;
|
type cyclic;
|
||||||
neighbourPatch bottom;
|
neighbourPatch bottom;
|
||||||
faces ((4 5 6 7));
|
faces ((4 5 6 7));
|
||||||
}
|
}
|
||||||
lr1
|
lr1
|
||||||
{
|
{
|
||||||
type cyclic;
|
type cyclic;
|
||||||
neighbourPatch lr2;
|
neighbourPatch lr2;
|
||||||
faces ((0 3 7 4));
|
faces ((0 3 7 4));
|
||||||
}
|
}
|
||||||
lr2
|
lr2
|
||||||
{
|
{
|
||||||
type cyclic;
|
type cyclic;
|
||||||
neighbourPatch lr1;
|
neighbourPatch lr1;
|
||||||
faces ((1 5 6 2));
|
faces ((1 5 6 2));
|
||||||
}
|
}
|
||||||
vh1
|
vh1
|
||||||
{
|
{
|
||||||
type cyclic;
|
type cyclic;
|
||||||
neighbourPatch vh2;
|
neighbourPatch vh2;
|
||||||
faces ((0 1 4 5));
|
faces ((0 1 4 5));
|
||||||
}
|
}
|
||||||
vh2
|
vh2
|
||||||
{
|
{
|
||||||
type cyclic;
|
type cyclic;
|
||||||
neighbourPatch vh1;
|
neighbourPatch vh1;
|
||||||
faces ((2 6 7 3));
|
faces ((2 6 7 3));
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|||||||
@ -1,10 +1,10 @@
|
|||||||
################################################################################
|
################################################################################
|
||||||
# brief: Periodic box - creating particle bed #
|
# brief: Periodic box - creating particle bed #
|
||||||
# #
|
# #
|
||||||
# Periodic box simulations of Geldart A particles (d=0.075mm, rho=1500kg/m3) #
|
# Periodic box simulations of Geldart A particles (d=0.075mm, rho=1500kg/m3) #
|
||||||
# Cf. Radl, S. and Sundaresan, S., A drag model for filtered Euler–Lagrange #
|
# Cf. Radl, S. and Sundaresan, S., A drag model for filtered Euler–Lagrange #
|
||||||
# simulations of clustered gas–particle suspensions. #
|
# simulations of clustered gas–particle suspensions. #
|
||||||
# Chemical engineering science, (2014). #
|
# Chem. Eng. Sci., (2014) #
|
||||||
# mass loading = 0.05 #
|
# mass loading = 0.05 #
|
||||||
# authors: Behrad Esgandari #
|
# authors: Behrad Esgandari #
|
||||||
# date: Aug 2023 #
|
# date: Aug 2023 #
|
||||||
|
|||||||
@ -1,10 +1,10 @@
|
|||||||
################################################################################
|
################################################################################
|
||||||
# brief: Periodic box - run #
|
# brief: Periodic box - run #
|
||||||
# #
|
# #
|
||||||
# Periodic box simulations of Geldart A particles (d=0.075mm, rho=1500kg/m3) #
|
# Periodic box simulations of Geldart A particles (d=0.075mm, rho=1500kg/m3) #
|
||||||
# Cf. Radl, S. and Sundaresan, S., A drag model for filtered Euler–Lagrange #
|
# Cf. Radl, S. and Sundaresan, S., A drag model for filtered Euler–Lagrange #
|
||||||
# simulations of clustered gas–particle suspensions. #
|
# simulations of clustered gas–particle suspensions. #
|
||||||
# Chemical engineering science, (2014). #
|
# Chem. Eng. Sci., (2014) #
|
||||||
# mass loading = 0.05 #
|
# mass loading = 0.05 #
|
||||||
# authors: Behrad Esgandari #
|
# authors: Behrad Esgandari #
|
||||||
# date: Aug 2023 #
|
# date: Aug 2023 #
|
||||||
|
|||||||
@ -1,10 +1,9 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
#------------------------------------------------------------------------------
|
||||||
#===================================================================#
|
|
||||||
# DEM run script for periodic box testcase
|
# DEM run script for periodic box testcase
|
||||||
# init periodic box
|
# init periodic box
|
||||||
# Behrad Esgandari - August 2023
|
# Behrad Esgandari - August 2023
|
||||||
#===================================================================#
|
#------------------------------------------------------------------------------
|
||||||
|
|
||||||
#- source CFDEM env vars
|
#- source CFDEM env vars
|
||||||
. ~/.bashrc
|
. ~/.bashrc
|
||||||
@ -13,7 +12,7 @@
|
|||||||
source $CFDEM_PROJECT_DIR/etc/functions.sh
|
source $CFDEM_PROJECT_DIR/etc/functions.sh
|
||||||
|
|
||||||
echo "starting DEM run in parallel..."
|
echo "starting DEM run in parallel..."
|
||||||
#--------------------------------------------------------------------------------#
|
#------------------------------------------------------------------------------
|
||||||
#- define variables
|
#- define variables
|
||||||
casePath="$(dirname "$(readlink -f ${BASH_SOURCE[0]})")"
|
casePath="$(dirname "$(readlink -f ${BASH_SOURCE[0]})")"
|
||||||
logpath="$casePath"
|
logpath="$casePath"
|
||||||
@ -23,7 +22,7 @@ solverName="in.liggghts_init"
|
|||||||
nrProcs=32
|
nrProcs=32
|
||||||
machineFileName="none"
|
machineFileName="none"
|
||||||
debugMode="off"
|
debugMode="off"
|
||||||
#--------------------------------------------------------------------------------#
|
#------------------------------------------------------------------------------
|
||||||
|
|
||||||
#- call function to run DEM case
|
#- call function to run DEM case
|
||||||
parDEMrun $logpath $logfileName $casePath $headerText $solverName $nrProcs $machineFileName $debugMode
|
parDEMrun $logpath $logfileName $casePath $headerText $solverName $nrProcs $machineFileName $debugMode
|
||||||
|
|||||||
Reference in New Issue
Block a user