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

add RULES to the CFX-solver files

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 23, 2019, 07:13
Default add RULES to the CFX-solver files
  #1
New Member
 
Yan Wang
Join Date: Jan 2019
Posts: 6
Rep Power: 8
W.Yan is on a distinguished road
I want to add the following lines in my CCL files:

RULES:
PARAMETER: Kinematic Diffusivity
Dependency Line = ANY
END
END

I have tried to add the lines at the end of the command editor of the solver in the CFX-Pre. however, there was nothing changed when I clicked the process. Also, I tried to click "edit CFX-solver files" in the Solver Manager. I can see LIBRARY and FLOW without RULES under the Root.
Can anyone tell me how to add RULES to solver files. I have been confused for several weeks. Thanks for your help.
W.Yan is offline   Reply With Quote

Old   January 23, 2019, 08:51
Default
  #2
Senior Member
 
Join Date: Jun 2009
Posts: 1,897
Rep Power: 33
Opaque will become famous soon enough
Local rules are usually added at run time in the command line. Say you stored such rules into MyRules.ccl, you then start the simulation by

cfx5solve -def .... -ccl MyRules.ccl ...

You will see the rules listed in the output file.

Alternatively, you can extract the command file from the specific simulation, add the rules section, insert the commands back and run the simulation

cfx5cmds -def ... -ccl MyCommands.ccl -read

Edit MyCommands.ccl, and add

RULES:
...
END
LIBRARY:
...
END
FLOW:
...
END

cfx5cmds -def ... -ccl MyCommands.ccl -write

cfx5solve -def ...

Either way, it should work.
Opaque is offline   Reply With Quote

Old   January 23, 2019, 23:05
Default
  #3
New Member
 
Yan Wang
Join Date: Jan 2019
Posts: 6
Rep Power: 8
W.Yan is on a distinguished road
thanks for your reply. What I use is the Fluid Flow(CFD) in the Workbence, and I meet some trouble to open the command line. By the way, Does the "...." in the reply means the direction of the file?

Last edited by W.Yan; January 24, 2019 at 00:21. Reason: I have solved the problem
W.Yan is offline   Reply With Quote

Old   January 24, 2019, 10:17
Default
  #4
Senior Member
 
Join Date: Jun 2009
Posts: 1,897
Rep Power: 33
Opaque will become famous soon enough
... means whatever goes there, i.e. fill the blanks.

Hope you are able to add your local rules.
Opaque is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
PEMFC model with FLUENT brahimchoice FLUENT 22 April 19, 2020 15:44
[ANSYS Meshing] Help with element size sandri_92 ANSYS Meshing & Geometry 14 November 14, 2018 07:54
Star cd es-ice solver error ernarasimman STAR-CD 2 September 12, 2014 00:01
CFX Solver Reynolds Number haider760 CFX 2 March 4, 2012 22:05
CFX 5.5 Roued CFX 1 October 2, 2001 16:49


All times are GMT -4. The time now is 07:58.