CFX/Example

From ScientificComputing
Revision as of 08:05, 28 March 2017 by Sfux (talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

As an example for a parallel CFX job, we are using the StaticMixer, provided by ansys.

[leonhard@euler01 ~]$ module load cfx/17.0
[leonhard@euler01 ~]$ ls -ltr
total 3728
-rw-r--r-- 1 leonhard T0000  212192 Sep 14 07:33 StaticMixer.def
-rw-r--r-- 1 leonhard T0000   20248 Sep 14 07:33 StaticMixer.pre 
[leonhard@euler01 ~]$ cfx_submit_job -n 4 -W 4:00 -M 2000 -def StaticMixer.def
CFX job.
Job <27426727> is submitted to queue <normal.4h>.
[leonhard@euler01 ~]$ bjobs
JOBID      USER        STAT  QUEUE      FROM_HOST   EXEC_HOST   JOB_NAME   SUBMIT_TIME
27426727   leonhard    PEND  normal.4h  euler01                 cfx.leo    Sep 14 07:36
[leonhard@euler01 ~]$ bjobs
JOBID      USER        STAT  QUEUE      FROM_HOST   EXEC_HOST   JOB_NAME   SUBMIT_TIME
27426727   leonhard    RUN   normal.4h  euler01     4*e1303     cfx.leo    Sep 14 07:36
[leonhard@euler01 ~]$ bjobs
No unfinished job found
[leonhard@euler01 ~]$ ls -ltr
total 3728
-rw-r--r-- 1 leonhard T0000  212192 Sep 14 07:33 StaticMixer.def
-rw-r--r-- 1 leonhard T0000   20248 Sep 14 07:33 StaticMixer.pre
-rw-r--r-- 1 leonhard T0000 3477687 Sep 14 07:38 StaticMixer_001.res
-rw-r--r-- 1 leonhard T0000   73530 Sep 14 07:38 StaticMixer_001.out
-rw-r--r-- 1 leonhard T0000    1218 Sep 14 07:38 cfx.o27426727
[leonhard@euler01 ~]$ grep "has finished" StaticMixer_001.out 
This run of the ANSYS CFX Solver has finished.

The log information of the batch system for this job is stored in the file cfx.o27426727.