Difference between revisions of "CFX/Example"

From ScientificComputing
Jump to: navigation, search
Line 1: Line 1:
 
As an example for a parallel CFX job, we are using the StaticMixer, provided by ansys.
 
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 ~]$ '''module load cfx/17.0'''
  [leonhard@euler01 ~]$ ls -ltr
+
  [leonhard@euler01 ~]$ '''ls -ltr'''
 
  total 3728
 
  total 3728
 
  -rw-r--r-- 1 leonhard T0000  212192 Sep 14 07:33 StaticMixer.def
 
  -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  20248 Sep 14 07:33 StaticMixer.pre  
  [leonhard@euler01 ~]$ cfx_submit_job -n 4 -W 4:00 -M 2000 -def StaticMixer.def
+
  [leonhard@euler01 ~]$ '''cfx_submit_job -n 4 -W 4:00 -M 2000 -def StaticMixer.def'''
 
  CFX job.
 
  CFX job.
 
  Job <27426727> is submitted to queue <normal.4h>.
 
  Job <27426727> is submitted to queue <normal.4h>.
  [leonhard@euler01 ~]$ bjobs
+
  [leonhard@euler01 ~]$ '''bjobs'''
 
  JOBID      USER        STAT  QUEUE      FROM_HOST  EXEC_HOST  JOB_NAME  SUBMIT_TIME
 
  JOBID      USER        STAT  QUEUE      FROM_HOST  EXEC_HOST  JOB_NAME  SUBMIT_TIME
 
  27426727  leonhard    PEND  normal.4h  euler01                cfx.leo    Sep 14 07:36
 
  27426727  leonhard    PEND  normal.4h  euler01                cfx.leo    Sep 14 07:36
 
  JOBID      USER        STAT  QUEUE      FROM_HOST  EXEC_HOST  JOB_NAME  SUBMIT_TIME
 
  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
 
  27426727  leonhard    RUN  normal.4h  euler01    4*e1303    cfx.leo    Sep 14 07:36
  [leonhard@euler01 ~]$ bjobs
+
  [leonhard@euler01 ~]$ '''bjobs'''
 
  No unfinished job found
 
  No unfinished job found
  [leonhard@euler01 ~]$ ls -ltr
+
  [leonhard@euler01 ~]$ '''ls -ltr'''
 
  total 3728
 
  total 3728
 
  -rw-r--r-- 1 leonhard T0000  212192 Sep 14 07:33 StaticMixer.def
 
  -rw-r--r-- 1 leonhard T0000  212192 Sep 14 07:33 StaticMixer.def
Line 23: Line 23:
 
  -rw-r--r-- 1 leonhard T0000  73530 Sep 14 07:38 StaticMixer_001.out
 
  -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
 
  -rw-r--r-- 1 leonhard T0000    1218 Sep 14 07:38 cfx.o27426727
  [leonhard@euler01 ~]$ grep "has finished" StaticMixer_001.out  
+
  [leonhard@euler01 ~]$ '''grep "has finished" StaticMixer_001.out'''
 
  This run of the ANSYS CFX Solver has finished.
 
  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.
 
The log information of the batch system for this job is stored in the file cfx.o27426727.

Revision as of 05:48, 14 September 2016

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
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.