-
-
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 amRahulAnsys 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/libraryThis 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 couplingparticipants, one interface, and one data transfer.Traceback (most recent call last):File "PyLib/main/Controller.py", line 204, inFile "PyLib/main/Controller.py", line 199, in _runFile "PyLib/main/Controller.py", line 115, in _executeScriptFile "PyLib/kernel/commands/__init__.py", line 34, in readScriptFileFile "PyLib/kernel/commands/CommandManager.py", line 203, in readScriptFileFile "Scycpl.py", line 2, inSolve()File "PyLib/kernel/commands/CommandDefinition.py", line 74, in funcFile "PyLib/kernel/commands/__init__.py", line 30, in executeCommandFile "PyLib/kernel/commands/CommandManager.py", line 165, in executeCommandFile "PyLib/cosimulation/externalinterface/core/solver.py", line 137, in executeFile "PyLib/cosimulation/solver/__init__.py", line 123, in solveFile "PyLib/cosimulation/solver/__init__.py", line 499, in __checkSetupFile "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 amRahulAnsys 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 pmRahulAnsys 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.
-
- You must be logged in to reply to this topic.
- How do you approach this?
- Convective Augmentation Factor in DEFINE_HEAT_FLUX
- Conservation issue with a UDS solution
- Where is the Electrolyte Projected Area in the Reports tab of PEMFC Model?
- ANSYS fluent – Rocky DEM coupling
- Solar load , Mesh Orientation and Beam direction
- Non-Premixed Combustion PDF generation with 4th-order interpolation
-
451
-
199
-
194
-
166
-
162
© 2024 Copyright ANSYS, Inc. All rights reserved.