CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > ANSYS > CFX

The ever growing .def file!

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

LinkBack Thread Tools Search this Thread Display Modes
Old   May 23, 2005, 16:57
Default The ever growing .def file!
James Date
Posts: n/a
Has anyone noticed that if you successfully re-start a simulation using the interpolate function, the .def just keeps growing! Surely, it makes sense to only store the last values interpolated onto the mesh and not every interpolated set!. Does anyone know how to stop this happening, as it seems a terrible waste of space when it comes to archiving the .def files after finishing one's analysis work?


  Reply With Quote

Old   May 23, 2005, 21:33
Default Re: The ever growing .def file!
Posts: n/a

I've also noticed that if you have a .def file (simulation.def) and create a .ccl file from it (sim.ccl), everytime you do the command: cfx5cmds -def simulation.def -text sim.ccl -write , the size of simulation.def increases by the same amount.

So it seems that everytime a .def file is re-written by this way, even if it exactly the same, its size increases.

However, when you open simulation.def in CFX-Pre and re-write with same name, its size doesn't increase, actually it goes back to the original size.


  Reply With Quote

Old   May 23, 2005, 23:30
Default Re: The ever growing .def file!
Juan Carlos
Posts: n/a

After a .def file is written by CFX-Pre, any modification to the commands file (.ccl file) is recorded into the file.

The CFX internal file manager does not delete the old .ccl data, but appends to it for multiple reasons. For a .res (results file) the .ccl cannot be altered and it is stored in such a way that no user can modify it. Any additional modification is stored separately within the file for future restarts, but the .ccl that matches the stored solution remains intact such CFX-Post works with a consistent set of solution field and physics.

The amount a .def file grows due to changes to the .ccl file is negligible compared to its size.

I am not sure about the increase in size due to interpolation, but I understand that interpolating from a .res to a new .def makes the new .def file a "pseudo-.res" file. Interpolation from .res to .def file is usually due to either mesh differences, or topological changes. Why do you want to interpolate a .res file to the same .def file multiple times?

I would contact CFX support, and describe the behavior you have observed.

Good luck, Juan Carlos
  Reply With Quote


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
tecio compilation errors in latest 1.6.x rsamuel OpenFOAM Bugs 2 June 25, 2021 09:10
[swak4Foam] GroovyBC the dynamic cousin of funkySetFields that lives on the suburb of the mesh gschaider OpenFOAM Community Contributions 300 October 29, 2014 19:00
channelFoam for a 3D pipe AlmostSurelyRob OpenFOAM 3 June 24, 2011 14:06
[OpenFOAM] Paraview command not found hardy ParaView 7 September 18, 2008 05:59
DxFoam reader update hjasak OpenFOAM Post-Processing 69 April 24, 2008 02:24

All times are GMT -4. The time now is 11:46.