ANSYS Batch Examples

In this section, we present several ANSYS batch examples for different software applications as well as different simulation scenarios (i.e. mesh only, solve).

Contents

ANSYS Fluent Example

This is a very simple model of a t-junction with a hot water and cold water inlet, with mixing and calculation of temperature at the outlet. This example has been configured to output a graph of the residual plot every iteration.

Tjunction Temperature Profile


Import Job Setup Get Job Results


Simulation Code ANSYS Fluent 19.0
Analysis Type CFD
Description A CFD analysis of mixing hot and cold water through a t-junction pipe
Suggested Hardware Onyx / 4 cores
Command
fluent 3ddp -gu -ssh -cnf=$FLUENT_HOSTS -t$RESCALE_CORES_PER_SLOT -i run_plot.jou
Estimated Run Time 4 minutes
Previous versions Import Job Setup v18.0


ANSYS Mechanical Example

The v18cg-3 benchmark is a static structural analysis on an engine block. The model has about 14.2M degrees of freedom, and undergoes a static linear analysis through ANSYS Mechanical.

ANSYS Mechanical engine block model


Import Job Setup Get Job Results


Simulation Code ANSYS Mechanical 19.0
Analysis Type Static Linear Analysis
Description A static linear analysis of an engine block without internal components
Suggested Hardware Onyx / 18 cores
Command
export LICENSE_FEATURE=meba
ansys190 -dis -b -np $RESCALE_CORES_PER_SLOT -machines $MACHINES -i V18cg-3.dat -p $LICENSE_FEATURE
Estimated Run Time 10 minutes
Previous versions Import Job Setup v18.2


ANSYS HFSS Example

This example is a cutout section of a PCI Express Gen 3 printed circuit board. The study is a single frequency sweep to calculate the S-parameters of the section edges.

ANSYS HFSS PCIe model


Import Job Setup Get Job Results


Simulation Code ANSYS 19.0 (HFSS)
Analysis Type High Frequency Electronics
Description A single frequency (1.5GHz) sweep analysis of a PCIe printed circuit board
Suggested Hardware Onyx / 8 cores
Command
export TASKS_PER_NODE=-1
for host in `cat $HOME/machinefile`; do echo ${host}:${TASKS_PER_NODE}:${RESCALE_CORES_PER_NODE}:90% >> $HOME/work/machinefile.hfss; done
ansysedt -auto -distributed -monitor -machinelist file=$HOME/work/machinefile.hfss -ng -batchsolve ansys-hfss-electronics-example.aedtz
Estimated Run Time 13 minutes


ANSYS CFX Example

This is a simple rotating flow model of an impeller inside an open mixing tank with containing baffles. We examine the distribution of the fluid flow as a constant stream of air is injected into a water tank.

Impeller velocity streamlines


Import Job Setup Get Job Results


Simulation Code ANSYS CFX 19.0
Analysis Type Mixing and Rotating flow
Description A rotating flow analysis of a vane-baffle impeller system
Suggested Hardware Onyx / 4 cores
Command
cfx5solve -def MultiphaseMixer.def -par-dist $HOSTLIST
Estimated Run Time 3 minutes
Previous versions Import Job Setup v18.1