Ansys: Difference between revisions

Jump to navigation Jump to search
m
no edit summary
mNo edit summary
mNo edit summary
Line 1,284: Line 1,284:


=== Ansys EDT === <!--T:1677-->
=== Ansys EDT === <!--T:1677-->
::: <code>module load CcEnv StdEnv/2023 ansysedt/2021R2 (or newer)</code>
::: Open a terminal window and load the module:
::: <code>ansysedt</code>
:::: <code>module load SnEnv ansysedt/2023R2</code>, or
::: Next configuration steps only need to be done once ...
:::: <code>module load SnEnv ansysedt/2021R2</code>
::: Click <code>Tools -> Options -> HPC and Analysis Options -> Edit</code> then :
::: Type <code>ansysedt</code> in the terminal and wait for the gui to start
:::: 1) untick the <code>Use Automatic Settings</code> box
::: The following step only needs to be done once:
:::: 2) under the Machines tab change <code>Cores</code> to 24 or less
:::: - click <code>Tools -> Options -> HPC and Analysis Options -> Options</code>
:::: 3) leave default value for <code>Tasks</code> set at 1
:::: - change <code>HPC License</code> pulldown to Pool (allows > 4 cores to be used)
:::: 4) click <code>OK</code> (these settings are then stored in ~/Ansoft)
:::: - click <code>OK</code>
::: Click <code>Tools -> Options -> HPC and Analysis Options -> Options</code> then :
::: To copy the Antennas examples directory into your account, login to a cluster and run:
:::: 1) change <code>HPC License</code> pulldown to Pool (allows > 4 cores to be used)
:::: 1a) module load StdEnv/2023 ansysedt/2021R2
:::: 2) click <code>OK</code>
:::: 1b) mkdir -p ~/Ansoft/$EBVERSIONANSYSEDT; cd ~/Ansoft/$EBVERSIONANSYSEDT; rm -rf Antennas
::: If <code>ansysedt</code> crashes run the following command(s) and try again:
:::: 1c) cp -a $EBROOTANSYSEDT/AnsysEM21.2/Linux64/Examples/HFSS/Antennas ~/Ansoft/$EBVERSIONANSYSEDT
:::: pkill -9 -u $USER -f "ansys*|mono|mwrpcss|apip-standalone-service"
:::: 2a) module load StdEnv/2023 ansysedt/2023R2
:::: <code>rm -rf ~/.mw</code> (will re-run first-time configuration on startup)
:::: 1b) mkdir -p ~/Ansoft/$EBVERSIONANSYSEDT; cd ~/Ansoft/$EBVERSIONANSYSEDT; rm -rf Antennas
::: To copy the HFSS/Antennas examples directory into your account:
:::: 2c) cp -a $EBROOTANSYSEDT/v232/Linux64/Examples/HFSS/Antennas ~/Ansoft/$EBVERSIONANSYSEDT
:::: 1) module load CcEnv StdEnv/2023 ansysedt/2023R2
:::: 3) open simulation then click <code>HFSS -> Validation Check</code> close and repeat if fails
:::: 2) rm -rf ~/Ansoft/$EBVERSIONANSYSEDT/Antennas; mkdir -p ~/Ansoft/$EBVERSIONANSYSEDT
:::: 4) click <code>Project -> Analyze All</code> to run simulation
:::: 3) cp -a $EBROOTANSYSEDT/v232/Linux64/Examples/HFSS/Antennas ~/Ansoft/$EBVERSIONANSYSEDT
:::: If the program crashes and won't restart try running the following commands:
:::: <code>pkill -9 -u $USER -f "ansys*|mono|mwrpcss|apip-standalone-service"</code>
:::: <code>rm -rf ~/.mw</code> (ansysedt will re-run first-time configuration on startup)
:::: 5) click <code>File -> Close -> No </code> to not save the converged solution


=== Ensight === <!--T:1678-->
=== Ensight === <!--T:1678-->
cc_staff
1,863

edits

Navigation menu