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 T-Junction Mixing Example

This is a 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 Fluent Combustion Example

This is a simple 2-D axisymmetric model of a cylindrical combustor where the flame is considered as a turbulent diffusion flame. A small nozzle in the center of the combustor introduces methane at 80 m/s. Ambient air enters the combustor coaxially at 0.5 m/s.

Combustor


Import Job Setup Get Job Results


Simulation Code ANSYS Fluent 19.0
Analysis Type CFD
Description A 2D axisymmetric CFD analysis of cylindrical methane-air gas combustor
Suggested Hardware Onyx / 4 cores
Command
fluent 2ddp -gu -ssh -cnf=$FLUENT_HOSTS -t$RESCALE_CORES_PER_SLOT -i run_plot.jou
Estimated Run Time 2 minutes


ANSYS Mechanical Example

This example is based on static structural anslysis of a crankshaft with applied forces of 200 N and 500 N on the crank arms.

ANSYS Mechanical engine block model


Import Workbench Project Import Job Setup Get Job Results


Simulation Code ANSYS Mechanical 19.0
Analysis Type Static Linear Analysis
Description A static structural analysis of a crankshaft with applied forces of 200 N and 500 N.
Suggested Hardware Onyx / 4 cores
Command
export LICENSE_FEATURE=meba
ansys190 -dis -b -np $RESCALE_CORES_PER_SLOT -machines $MACHINES -i input_crankshaft.dat -p $LICENSE_FEATURE
Estimated Run Time 4 minutes


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 ssh ${host} "ansoftrsmservice start; RegisterEnginesWithRSM.pl add;"; 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

ANSYS Maxwell Example

This example is based on a magnetostatic analysis of a rotational actuator. It is a parametric study of torque and inductance characteristics vs. position with an excitation current of 675.5 A

ANSYS Maxwell Results


Import Job Setup Get Job Results


Simulation Code ANSYS Maxwell 19.0
Analysis Type Magnetostatic
Description A rotational actuator with an excitation current of 675.5A
Suggested Hardware Onyx / 8 cores
Command
export TASKS_PER_NODE=2
for host in `cat $HOME/machinefile`; do echo ${host}:${TASKS_PER_NODE}:${RESCALE_CORES_PER_NODE}:90% >> $HOME/work/machinefile.maxwell; done
ansysedt -distributed -monitor -machinelist file=$HOME/work/machinefile.maxwell -ng -batchsolve rotational-actuator.aedtz
Estimated Run Time 8 minutes

ANSYS Savant Example

This example is based on a simulation of wide-band antenna coupling (isolation) between two antennas located on an E-2C aircraft. A multi-layered dilectric medium is defined for different parts.

ANSYS Savant Model


Import Job Setup Get Job Results


Simulation Code ANSYS Savant 19.0
Analysis Type Antenna coupling
Description Wide-band antenna coupling between two antennas on an E-2C aircraft
Suggested Hardware Onyx / 8 cores
Command
mpirun.fl --arch=${ARCH} --rsh=ssh --mpi=${MPI_VENDOR} --np=${RESCALE_NODES_PER_SLOT} --cnf=$HOME/machinefile --ic=eth savant test.savant --mpi --nopython --nogpu --np $RESCALE_CORES_PER_SLOT
Estimated Run Time 3 minutes