/opt/shared/ansys/2020r2/v202/fluent/bin/fluent
#!/bin/sh #PBS -l walltime=10:30:00 #PBS -l select=1:ncpus=12:mpiprocs=12:mem=24gb SOLVER=3ddp INPUT=input.txt OUTPUT=$PBS_JOBNAME.$(echo $PBS_JOBID|awk -F. '{print $1}').log FLUENT=/opt/shared/ansys/2020r2/v202/fluent/bin/fluent ##--- You do not need to modify anything below this line --- cd $PBS_O_WORKDIR nprocs=`wc -l $PBS_NODEFILE | awk '{ print $1 }'` amount_of_nodes=`uniq $PBS_NODEFILE | wc -l` if [ $amount_of_nodes -eq 1 ] ; then CMD="$FLUENT $SOLVER -g -t$nprocs -i $INPUT" else CMD="$FLUENT $SOLVER -g -t$nprocs -ssh -pethernet -cnf=$PBS_NODEFILE -i $INPUT" fi echo "$CMD" echo $CMD > $OUTPUT 2>&1
/opt/shared/ansys/12.1.1/v121/fluent/fluent12.1.4/launcher/lnamd64/launcher1
rc Intake_3d.cas file/autosave/data-frequency 5000 solve/it/100000 wc Intake_3d_out.cas y wd Intake_3d_out.dat y exit
define/user-defined/compiled-functions compile libudf yes yourcode.c
define/user-defined/compiled-functions load libudf
#!/bin/sh #PBS -l walltime=10:30:00 #PBS -l select=1:ncpus=4:mpiprocs=4:mem=8000mb SOLVER=3ddp INPUT=input.txt OUTPUT=$PBS_JOBNAME.$(echo $PBS_JOBID|awk -F. '{print $1}').log FLUENT=/opt/shared/ansys/12.1.1/v121/fluent/bin/fluent ##--- You do not need to modify anything below this line --- cd $PBS_O_WORKDIR nprocs=`wc -l $PBS_NODEFILE | awk '{ print $1 }'` amount_of_nodes=`uniq $PBS_NODEFILE | wc -l` if [ $amount_of_nodes -eq 1 ] ; then CMD="$FLUENT $SOLVER -g -t$nprocs -i $INPUT" else CMD="$FLUENT $SOLVER -g -t$nprocs -ssh -pinfiniband -cnf=$PBS_NODEFILE -i $INPUT" fi echo "$CMD" echo $CMD > $OUTPUT 2>&1
Отличия в использовании от описанной выше версии 12:
/opt/shared/ansys/13.0/v130/fluent/fluent13.0.0/launcher/lnamd64/launcher1
FLUENT=/opt/shared/ansys/13.0/v130/fluent/bin/fluent
/opt/shared/ansys/14.0/v140/fluent/fluent14.0.0/launcher/lnamd64/launcher1
FLUENT=/opt/shared/ansys/14.0/v140/fluent/bin/fluent