CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > CFX

How to start CFX Solver with an existing parfile

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   February 18, 2011, 06:14
Default How to start CFX Solver with an existing parfile
  #1
Member
 
don lenardo
Join Date: Nov 2010
Posts: 75
Rep Power: 6
lentschi is on a distinguished road
Hello everyone,

i want to split my Solver-process in 2 divisions:

At first, cfx should ONLY produce a partitioning file <parfile>. That's quite easy to perform with the "part-only" command.

Afterwards I want to read in this <parfile> and then to start the solver.

Therefore I used following commands:

cfx5solve -def test.def -part-only 24

and then in another script:
cfx5solve -def test.def -parfile-read test.par

cfx5solve -def test.def -par-dist <host-list> -start-method "HP MPI Distributed Parallel" -double -name tmp -ccl upwind.ccl

cfx5solve -def test.def -par-dist <host-list> -start-method "HP MPI Distributed Parallel" -double -ini Upwind.res

Or should I put the parfile-read command and the -par-dist in one line like this:

cfx5solve -def test.def -parfile-read test.par -par-dist 24 -start-method "HP MPI Distributed Parallel" -double -name tmp -ccl upwind.ccl

cfx5solve -def test.def -par-dist 24 -start-method "HP MPI Distributed Parallel" -double -ini Upwind.res


The Solver should perfom some "Upwind" steps and then switch to "High Resolution"
Without this splitting of the partitioning part, the Solving works!

Thanks in advance.

Regards Markus
lentschi is offline   Reply With Quote

Old   February 18, 2011, 09:17
Thumbs up
  #2
Member
 
don lenardo
Join Date: Nov 2010
Posts: 75
Rep Power: 6
lentschi is on a distinguished road
I got it:

to partition only:
cfx5solve -def test.def -part-only #Partitions

and then to solve:

cfx5solve -def test.def -par-dist #CPUs -parfile-read <parfile> -start-method "HP MPI Distributed Parallel" .......
lentschi is offline   Reply With Quote

Old   February 18, 2011, 22:35
Default Hi
  #3
Member
 
Dynampally Pavitran
Join Date: Mar 2010
Location: India
Posts: 73
Rep Power: 7
pavitran is on a distinguished road
What is the advantage of this method when compared with default partitioning command "-part" ?

Last edited by pavitran; February 20, 2011 at 01:20.
pavitran is offline   Reply With Quote

Old   February 20, 2011, 14:31
Default
  #4
Senior Member
 
Join Date: Mar 2009
Location: Europe
Posts: 168
Rep Power: 8
joey2007 is on a distinguished road
If you change nothing in the mesh, it is possible to reuse the par-file. This means can save the time for the partitioning.
__________________
-
-
-
-
-
------------------------------------------------------------------------
Please do not forget: I am not paid for answering your questions.


Thousands of issues can cause a division by zero. Please do not capture a thread, with the argument: "I have the same issue ...."
joey2007 is offline   Reply With Quote

Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
thobois class engineTopoChangerMesh error Peter_600 OpenFOAM 4 August 2, 2014 09:52
Working directory via command line Luiz CFX 4 March 6, 2011 21:02
CFX start problem, "Appwindow" Attesz CFX 4 September 27, 2009 05:06
CFX 11, solver Debabrata CFX 1 June 16, 2008 21:52
CFX 5.5 Roued CFX 1 October 2, 2001 16:49


All times are GMT -4. The time now is 22:38.