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

CFX *.def file

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

Reply
 
LinkBack Thread Tools Display Modes
Old   July 10, 2009, 09:50
Exclamation CFX *.def file
  #1
New Member
 
Anna Encheva
Join Date: Jul 2009
Posts: 5
Rep Power: 9
anna_67 is on a distinguished road
Hello,

is it possible to use the *.def file to change some preprocessing data and run a new simulation or one needs the *.cfx file. Thanks
anna_67 is offline   Reply With Quote

Old   July 10, 2009, 10:06
Default
  #2
LKF
New Member
 
Join Date: Mar 2009
Posts: 16
Rep Power: 9
LKF is on a distinguished road
There are a few different ways to modify a .def file.

1. In Solver Manager > Tools > Edit Definition File
2. Open the .def file in PRE
3. Create a ccl file and run from command line: cfx5solve -def deffile.def -ccl cclfile.ccl
LKF is offline   Reply With Quote

Old   July 10, 2009, 10:15
Default
  #3
New Member
 
wu
Join Date: Jul 2009
Posts: 14
Rep Power: 9
whiz is on a distinguished road
and also you can do like this:
cfx5cmds -read -def ***.def -text aa.ccl
then you can edit the aa.ccl
use the command:
cfx5cmds -write -def ***.def -text aa.ccl
to change the def file.
whiz is offline   Reply With Quote

Old   July 10, 2009, 11:56
Default
  #4
Rui
Member
 
Rui's Avatar
 
Rui Igreja
Join Date: Mar 2009
Location: Aveiro
Posts: 68
Blog Entries: 1
Rep Power: 9
Rui is on a distinguished road
Yes, the *.def file is enough.

I think (but not sure) that, in a simple way of putting it, the *.def file = *.cfx file + mesh
__________________
Rui
Rui is offline   Reply With Quote

Old   July 10, 2009, 13:30
Default
  #5
Senior Member
 
ckleanth's Avatar
 
George
Join Date: Mar 2009
Location: Birmingham, UK
Posts: 257
Rep Power: 10
ckleanth is on a distinguished road
Quote:
Originally Posted by Rui View Post
Yes, the *.def file is enough.

I think (but not sure) that, in a simple way of putting it, the *.def file = *.cfx file + mesh
nah its more like *.cfx file = mesh + all ccl ; *.def file = mesh + ccl required for the run.
__________________
Top 4 tips
1. Knowledge is everything and Ignorance is dangerous.
2. Understand your limitations and try to eliminate them.
3. Get yerself a bike and hoon the chuffer. You will soon learn why dogs like to hang their heads out the car window.
4. Please before asking any questions on how to run simulations in CFX, go though all the tutorials

Last edited by ckleanth; July 10, 2009 at 13:50.
ckleanth is offline   Reply With Quote

Old   July 10, 2009, 16:08
Default
  #6
Rui
Member
 
Rui's Avatar
 
Rui Igreja
Join Date: Mar 2009
Location: Aveiro
Posts: 68
Blog Entries: 1
Rep Power: 9
Rui is on a distinguished road
mate, that simulation is taking its time to converge

Quote:
Originally Posted by ckleanth View Post
nah its more like *.cfx file = mesh + all ccl ; *.def file = mesh + ccl required for the run.
You are right, the *.cfx file also contains the mesh information.
The documentation (ANSYS CFX-Pre File Types) says: "The case file (*.cfx) contains the physics data, region and mesh information for the simulation...". I've checked, and it's true

About the *.def file, it says "*.def file contains the specification for the whole simulation, including the geometry, surface mesh, boundary conditions, fluid properties, solver parameters and any initial values."
Surface mesh????!!!!
And the *.cfx file also contains solver parameters information, etc

But, answering Anna question: "You can load a definition file back into ANSYS CFX-Pre to recreate a simulation"
__________________
Rui
Rui 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
ParaView Compilation jakaranda OpenFOAM Installation 3 October 27, 2008 12:46
DxFoam reader update hjasak OpenFOAM Post-Processing 69 April 24, 2008 01:24
DecomposePar links against liblamso0 with OpenMPI jens_klostermann OpenFOAM Bugs 11 June 28, 2007 17:51
Axisymmetrical mesh Rasmus Gjesing (Gjesing) OpenFOAM Native Meshers: blockMesh 10 April 2, 2007 14:00
error while compiling the USER Sub routine CFD user CFX 3 November 25, 2002 16:16


All times are GMT -4. The time now is 23:24.