-
-
May 1, 2024 at 12:30 pmSwapnilSubscriber
Hello,Â
I need to run a two-way FSI simulation on the HPC cluster. In the submission script, I am not able to give an execution path for Ansys mechanical (transient structural) for 2023R2 version. I have mentioned the execution path for system coupling and fluent below.
module load ansys/2023r2/lfs/sware/ansys2023r2/ansys_inc/v232/SystemCoupling/bin/systemcoupling -R syscplg.py &/lfs/sware/ansys2023r2/ansys_inc/v232/fluent/bin/fluent 3d -g -mpi=intel -t40 -cnf=${PBS_NODEFILE} -scport=${HOSTPORT[0]} -schost=${HOSTPORT[1]} -scname="${JOB[4]}"-i input.jou> output.FLUENT &ansys2023r2 -b -scport=${HOSTPORT[0]} -schost=${HOSTPORT[1]} -scname="${JOB[2]}" -i Mech_FSI_A1.dat -o output.Ansys -np20 -
May 5, 2024 at 3:50 amRahul MuleAnsys Employee
Hey Swapnil,
To run system coupling in batch mode, you just need system coupling path to be specified. Starting the System Coupling CLI (ansys.com)
Also refer Using Parallel Processing Capabilities (ansys.com) user guide. -
May 6, 2024 at 6:55 amSwapnilSubscriber
I tried giving the system coupling path and I am facing the following error now.
application-specific initialization failed: Can't find a usable init.tcl in the following directories:  /home2/polyflowbuilds/buildagents/milpolybld01/work/1210bc2a0080eb69/Tcl-tk/8_5_11/linx64/Release/tcltk/lib/tcl8.5 /usr/lib/tcl8.5 /lib/tcl8.5 /usr/library /library /tcl8.5.11/library /tcl8.5.11/libraryÂThis probably means that Tcl wasn't installed properly.ÂLog file:MPI Option Selected: intel-------------------------------------------------------------------------------Â+-----------------------------------------------------------------------------+| Errors were found during data model validation.               |+-----------------------------------------------------------------------------+Error: To begin a coupled analysis setup, define at least two coupling    Â  participants, one interface, and one data transfer.            ÂÂTraceback (most recent call last): File "PyLib/main/Controller.py", line 204, in File "PyLib/main/Controller.py", line 199, in _run File "PyLib/main/Controller.py", line 115, in _executeScript File "PyLib/kernel/commands/__init__.py", line 34, in readScriptFile File "PyLib/kernel/commands/CommandManager.py", line 203, in readScriptFile File "Scycpl.py", line 2, in  Solve() File "PyLib/kernel/commands/CommandDefinition.py", line 74, in func File "PyLib/kernel/commands/__init__.py", line 30, in executeCommand File "PyLib/kernel/commands/CommandManager.py", line 165, in executeCommand File "PyLib/cosimulation/externalinterface/core/solver.py", line 137, in execute File "PyLib/cosimulation/solver/__init__.py", line 123, in solve File "PyLib/cosimulation/solver/__init__.py", line 499, in __checkSetup File "PyLib/cosimulation/datamodelrules/__init__.py", line 270, in raiseValidationErrorRuntimeError: Errors were found during data model validation.Shutting down System Coupling compute node processes. -
May 7, 2024 at 6:54 amRahul MuleAnsys Employee
Do you have all the required files for two-way FSI? System coupling settings file should have participants defined.
-
May 7, 2024 at 1:55 pmSwapnilSubscriber
Yes, I have added all the required participants (Fluent Transient structural) and I have added interface and data transfers as well. I think the issue is with the partitioning algorithm.
I need to run the simulation on HPC (distributed memory type) cluster with 20 cores for fluent and 4 cores for transient structural. I have checked the manual but I am not clear about which partition algorithm should I use and how to specify the additional arguments and parallel fraction.Â
I am using the following submission script:
#!/bin/bash#PBS -o logfile.log#PBS -e errorfile.err#PBS -l walltime=40:00:00#PBS -l select=1:ncpus=24tpdir=echo $PBS_JOBID | cut -f 1 -d .
tempdir=$HOME/scratch/job$tpdirmkdir -p $tempdircd $tempdircp -R $PBS_O_WORKDIR/* .module load ansys2023r2/lfs/sware/ansys2023r2/ansys_inc/v232/SystemCoupling/bin/systemcoupling -R Scycpl.pymv ../job$tpdir $PBS_O_WORKDIR/.Âcould you please suggest the required changes? -
May 7, 2024 at 2:07 pmRahul MuleAnsys Employee
Core count or fraction of compute resources to be allocated to the participant. Used to partition resources across coupling participants that are running in parallel.
Accepts real values greater than or equal to 0. Default value is 1.
For cluster with 20 cores: Fluent fraction = 1 => 20 cores; Transient fraction = 0.2 => 4 cores.
With SharedAllocateMachines partitioning algorithm , If all the fractions are between 0.0 and 1.0, then each participant will run on exactly the specified fraction of the total core count.
For more detailed information on how these fractions are applied, see Resource Allocation Fractions in the System Coupling User's Guide.
Shown in the GUI as the Coupling Participant | Execution Control | Parallel Fraction setting.
-
May 11, 2024 at 1:36 pmSwapnilSubscriber
I tried to simulate the case in HPC cluster but system coupling log file is written with the following lines while MAPDL log file is blank. Is it because of the unavailability of liscence?
Awaiting connections from coupling participants...
Elapsed time: 5 min. Still awaiting connection from: MAPDL-2. If you feel the participant(s) should already have connected, check participant logs and/or abort the run.
Elapsed time: 10 min. Still awaiting connection from: MAPDL-2. If you feel the participant(s) should already have connected, check participant logs and/or abort the run.
-
- The topic ‘Reg: Submission script to submit job on HPC’ is closed to new replies.
- Non-Intersected faces found for matching interface periodic-walls
- Unburnt Hydrocarbons contour in ANSYS FORTE for sector mesh
- Help: About the expression of turbulent viscosity in Realizable k-e model
- Cyclone (Stairmand) simulation using RSM
- error udf
- Diesel with Ammonia/Hydrogen blend combustion
- Fluent fails with Intel MPI protocol on 2 nodes
- Mass Conservation Issue in Methane Pyrolysis Shock Tube Simulation
- Script error Code: 800a000d
- Encountering Error in Heterogeneous Surface Reaction
-
1191
-
513
-
488
-
225
-
209
© 2024 Copyright ANSYS, Inc. All rights reserved.