mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
Removed support for LAM.
This commit is contained in:
@ -53,18 +53,8 @@ runParallel ()
|
||||
if [ -f $log.$APP_RUN ] ; then
|
||||
echo "$APP_RUN already run on $PWD: remove log file to run"
|
||||
else
|
||||
if [ "$WM_MPLIB" = LAM ]
|
||||
then
|
||||
echo "Starting LAM using $2 machines file"
|
||||
lamboot -v $2
|
||||
fi
|
||||
echo "Running $APP_RUN in parallel on $PWD using $1 processes"
|
||||
( mpirun -np $1 $APP_RUN -parallel < /dev/null > log.$APP_RUN 2>&1 )
|
||||
if [ "$WM_MPLIB" = LAM ]
|
||||
then
|
||||
echo "Stopping LAM"
|
||||
lamclean
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
|
||||
@ -4,8 +4,7 @@
|
||||
|
||||
runApplication blockMesh
|
||||
runApplication decomposePar
|
||||
runParallel dsmcInitialise 4 system/machines
|
||||
hostname > system/machines
|
||||
runParallel dsmcFoam 4 system/machines
|
||||
runParallel dsmcInitialise 4
|
||||
runParallel dsmcFoam 4
|
||||
runApplication reconstructPar -noLagrangian
|
||||
|
||||
|
||||
@ -4,8 +4,7 @@
|
||||
|
||||
runApplication blockMesh
|
||||
runApplication decomposePar
|
||||
runParallel dsmcInitialise 4 system/machines
|
||||
hostname > system/machines
|
||||
runParallel dsmcFoam 4 system/machines
|
||||
runParallel dsmcInitialise 4
|
||||
runParallel dsmcFoam 4
|
||||
runApplication reconstructPar -noLagrangian
|
||||
|
||||
|
||||
@ -8,9 +8,8 @@ application=`getApplication`
|
||||
runApplication blockMesh
|
||||
|
||||
runApplication decomposePar
|
||||
hostname > system/machines
|
||||
|
||||
runParallel mdInitialise 4 system/machines
|
||||
runParallel $application 4 system/machines
|
||||
runParallel mdInitialise 4
|
||||
runParallel $application 4
|
||||
|
||||
runApplication reconstructPar
|
||||
|
||||
@ -41,8 +41,7 @@ do
|
||||
done
|
||||
|
||||
# Run
|
||||
hostname > system/machines
|
||||
runParallel chtMultiRegionFoam 4 system/machines
|
||||
runParallel chtMultiRegionFoam 4
|
||||
|
||||
# Reconstruct
|
||||
for i in bottomAir topAir heater leftSolid rightSolid
|
||||
|
||||
@ -38,8 +38,7 @@ runApplication chtMultiRegionFoam
|
||||
#done
|
||||
#
|
||||
## Run
|
||||
#hostname > system/machines
|
||||
#runParallel chtMultiRegionFoam 4 system/machines
|
||||
#runParallel chtMultiRegionFoam 4
|
||||
#
|
||||
## Reconstruct
|
||||
#for i in bottomAir topAir heater leftSolid rightSolid
|
||||
|
||||
@ -36,8 +36,7 @@ cd throttle3D
|
||||
mapFields ../throttle -sourceTime latestTime >& log.mapFields
|
||||
|
||||
runApplication decomposePar
|
||||
hostname > system/machines
|
||||
runParallel $application 4 system/machines
|
||||
runParallel $application 4
|
||||
runApplication reconstructPar
|
||||
cd ..
|
||||
|
||||
|
||||
@ -10,6 +10,5 @@ cp 0/alpha1.org 0/alpha1
|
||||
cp 0/p.org 0/p
|
||||
runApplication setFields
|
||||
runApplication decomposePar
|
||||
hostname > system/machines
|
||||
runParallel $application 4 system/machines
|
||||
runParallel $application 4
|
||||
runApplication reconstructPar
|
||||
|
||||
@ -42,7 +42,6 @@ cd damBreakFine
|
||||
runApplication blockMesh
|
||||
runApplication setFields
|
||||
runApplication decomposePar
|
||||
hostname > system/machines
|
||||
runParallel $application 4 system/machines
|
||||
runParallel $application 4
|
||||
runApplication reconstructPar
|
||||
cd ..
|
||||
|
||||
@ -38,7 +38,6 @@ cd damBreakFine
|
||||
runApplication blockMesh
|
||||
runApplication setFields
|
||||
runApplication decomposePar
|
||||
hostname > system/machines
|
||||
runParallel $application 4 system/machines
|
||||
runParallel $application 4
|
||||
runApplication reconstructPar
|
||||
cd ..
|
||||
|
||||
Reference in New Issue
Block a user