|
[Sponsors] |
January 18, 2013, 13:48 |
how to operate CFX on cluster (no gui)
|
#1 |
Member
Dmitry
Join Date: Nov 2011
Posts: 45
Rep Power: 14 |
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 |
|
January 18, 2013, 14:37 |
|
#2 |
Senior Member
Chris DeGroot
Join Date: Nov 2011
Location: Canada
Posts: 414
Rep Power: 17 |
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?
|
|
January 18, 2013, 15:02 |
|
#3 | |
Member
Dmitry
Join Date: Nov 2011
Posts: 45
Rep Power: 14 |
Quote:
could you pls write a command line (as an example to change time step) thankx in advance |
||
January 18, 2013, 15:13 |
|
#4 |
Senior Member
Chris DeGroot
Join Date: Nov 2011
Location: Canada
Posts: 414
Rep Power: 17 |
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. |
|
January 18, 2013, 17:26 |
|
#5 | |
Member
Dmitry
Join Date: Nov 2011
Posts: 45
Rep Power: 14 |
Quote:
Works ok |
||
January 21, 2013, 22:38 |
|
#6 |
Member
Dmitry
Join Date: Nov 2011
Posts: 45
Rep Power: 14 |
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
|
|
March 17, 2014, 10:37 |
question about time
|
#7 |
New Member
Ksenia
Join Date: Feb 2013
Posts: 2
Rep Power: 0 |
imnull, could you please tell me in what field do you print this
300*1e-6 and etc ? Thank you in advance! |
|
March 17, 2021, 05:45 |
|
#9 |
New Member
YangLu
Join Date: Sep 2020
Posts: 10
Rep Power: 5 |
Can i use the 300*10,100*1 for the output frequency? I want to export the Trn results every 10 timestep in the first 300 timestep and every 1 timestep after 300 timestep?
|
|
March 17, 2021, 06:23 |
|
#10 |
New Member
YangLu
Join Date: Sep 2020
Posts: 10
Rep Power: 5 |
Hi, I tried to input the command from the prompt but it shows that the cfx5cmds command not found. Could you please tell me what I did wrong?
Thanks. Yang Last edited by yanglu; March 17, 2021 at 18:30. |
|
March 17, 2021, 09:27 |
|
#11 |
Senior Member
Gert-Jan
Join Date: Oct 2012
Location: Europe
Posts: 1,827
Rep Power: 27 |
Probably. But why not give it a try?
|
|
March 17, 2021, 16:44 |
|
#12 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,703
Rep Power: 143 |
The OS probably cannot find the cfx5cmds command because it is not on the path. The best way to fix this is to use a command editor started from the CFX Launcher as that has all the paths correctly set. So redo it from a command line started from the CFX Launcher.
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum. |
|
March 17, 2021, 18:31 |
|
#13 |
New Member
YangLu
Join Date: Sep 2020
Posts: 10
Rep Power: 5 |
||
March 17, 2021, 18:36 |
|
#14 | |
New Member
YangLu
Join Date: Sep 2020
Posts: 10
Rep Power: 5 |
Quote:
|
||
March 17, 2021, 18:47 |
|
#15 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,703
Rep Power: 143 |
I am not sure edit run in progress is supported from the command line. The normal way of doing it is with the Solver Manager.
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum. |
|
|
|
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 |