CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   Structural Mechanics (https://www.cfd-online.com/Forums/structural-mechanics/)
-   -   FSI simulation in SLURM cluster (input file and script) (https://www.cfd-online.com/Forums/structural-mechanics/223642-fsi-simulation-slurm-cluster-input-file-script.html)

Lara Gonçales January 20, 2020 15:45

FSI simulation in SLURM cluster (input file and script)
 
I'm running a one-way FSI simulation using ansys in SLURM cluster. The fluent simulation I performed on my computer and exported the static pressure to the solid wall, I just need to simulate the structural part (static structure) in the cluster. My question is about script.
The only input file needed for the script is ".mechdat.dat" generated in Mechanical by the command "write input file"?

Another difficulty I have is creating the script too, I don't know what the error is at the end of the script

#!/bin/bash -v
#SBATCH --partition=GPUSP4
#SBATCH --ntasks=16
#SBATCH --cpus-per-task=1
#SBATCH -J mechanical
#SBATCH --time=01:00:00

#OPenMP settings:
export OMP_NUM_THREADS=1
export MKL_NUM_THREADS=1
export OMP_PLACES=threads
export OMP_PROC_BIND=spread

echo $$SLURM_JOB_ID
echo $$SLURM_SUBMIT_DIR
echo $$SLURM_NTASKS

module load ansys/172

cd/scratch/9344657
input=/scratch/9344657/inputfile.mechdat.dat
pwd
data
#/scratch/9344657/ansys/v172 -t$SLURM_NTASKS -cndf=pnodes -i${input} -o$slurm-mechanical.out"


All times are GMT -4. The time now is 06:25.