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

how to operate CFX on cluster (no gui)

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

Like Tree2Likes
  • 1 Post By imnull
  • 1 Post By imnull

Reply
 
LinkBack Thread Tools Display Modes
Old   January 18, 2013, 14:48
Default how to operate CFX on cluster (no gui)
  #1
Member
 
Dmitry
Join Date: Nov 2011
Posts: 45
Rep Power: 5
imnull is on a distinguished road
Hi All,
My CFX tasks requires to set physical time (time step in sec).. On the workstation I can easily change the time step during the process of converging monitoring.
question:
Is any way to set up time step on certain iteration and create *.def to be solved on a cluster (no gui) after?
Thankx,
me
imnull is offline   Reply With Quote

Old   January 18, 2013, 15:37
Default
  #2
Senior Member
 
Chris DeGroot
Join Date: Nov 2011
Location: Canada
Posts: 387
Rep Power: 6
cdegroot is on a distinguished road
I'm not sure if I totally understand your question but you can use cfx5cmds to read a def file into a ccl file which you can then change and write the new ccl back into the def file. Or you can put the new timestep information into a ccl file and append it at runtime using the -ccl option on cfx5solve. Is this what you are after, or no?
cdegroot is offline   Reply With Quote

Old   January 18, 2013, 16:02
Default
  #3
Member
 
Dmitry
Join Date: Nov 2011
Posts: 45
Rep Power: 5
imnull is on a distinguished road
Quote:
Originally Posted by cdegroot View Post
I'm not sure if I totally understand your question but you can use cfx5cmds to read a def file into a ccl file which you can then change and write the new ccl back into the def file. Or you can put the new timestep information into a ccl file and append it at runtime using the -ccl option on cfx5solve. Is this what you are after, or no?
ah.. typed in CL: cfx5cmds -help %)
could you pls write a command line (as an example to change time step) thankx in advance
imnull is offline   Reply With Quote

Old   January 18, 2013, 16:13
Default
  #4
Senior Member
 
Chris DeGroot
Join Date: Nov 2011
Location: Canada
Posts: 387
Rep Power: 6
cdegroot is on a distinguished road
Let's say you have a def file called test.def. You would type cfx5cmds -read -def test.def -ccl test.ccl to read the command language from the def file into a ccl file that can be changed. In test.ccl you will find something like:

CONVERGENCE CONTROL:
Maximum Number of Iterations = 100
Minimum Number of Iterations = 1
Physical Timescale = 1 [s]
Timescale Control = Physical Timescale
END

Edit the physical timescale line to what you want. Then type cfx5cmds -write -def test.def -ccl test.ccl to write the new command language to the original def file. The def file will now contain the new ccl commands.

Hope that helps.
cdegroot is offline   Reply With Quote

Old   January 18, 2013, 18:26
Thumbs up
  #5
Member
 
Dmitry
Join Date: Nov 2011
Posts: 45
Rep Power: 5
imnull is on a distinguished road
Quote:
Originally Posted by cdegroot View Post
let's say you have a def file called test.def. You would type cfx5cmds -read -def test.def -ccl test.ccl to read the command language from the def file into a ccl file that can be changed. In test.ccl you will find something like:

Convergence control:
Maximum number of iterations = 100
minimum number of iterations = 1
physical timescale = 1 [s]
timescale control = physical timescale
end

edit the physical timescale line to what you want. Then type cfx5cmds -write -def test.def -ccl test.ccl to write the new command language to the original def file. The def file will now contain the new ccl commands.

Hope that helps.
!!!thanks!!!
Works ok
imnull is offline   Reply With Quote

Old   January 21, 2013, 23:38
Default
  #6
Member
 
Dmitry
Join Date: Nov 2011
Posts: 45
Rep Power: 5
imnull is on a distinguished road
btw: there is another way to set up time in -PRE.... 300*1e-6, 100*1e-4 [s] meas 300steps at 1e-6s and 100steps at 1e-4s right after first 300steps
Aktigridia likes this.
imnull is offline   Reply With Quote

Old   March 17, 2014, 11:37
Default question about time
  #7
New Member
 
Ksenia
Join Date: Feb 2013
Posts: 2
Rep Power: 0
Aktigridia is on a distinguished road
imnull, could you please tell me in what field do you print this
300*1e-6 and etc ?

Thank you in advance!
Aktigridia is offline   Reply With Quote

Old   April 25, 2014, 09:34
Default
  #8
Member
 
Dmitry
Join Date: Nov 2011
Posts: 45
Rep Power: 5
imnull is on a distinguished road
Quote:
Originally Posted by Aktigridia View Post
imnull, could you please tell me in what field do you print this
300*1e-6 and etc ?
Thank you in advance!
here is a prtscrn (in pre-)
1234.jpg
Aktigridia likes this.
imnull 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
ATTENTION! Reliability problems in CFX 5.7 Joseph CFX 14 April 20, 2010 15:45
heat generation in CFX Ema CFX 4 August 7, 2009 05:39
CFX 10's solutions differ from CFX 5.7's Atit Koonsrisuk CFX 4 July 26, 2006 11:59
CFX distributed computing: Cluster design Q Joe CFX 7 July 11, 2006 10:21
FSI using CFX and ANSYS Bi Chang CFX 2 May 10, 2005 04:47


All times are GMT -4. The time now is 03:12.