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

The ever growing .def file!

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

Reply
 
LinkBack Thread Tools Display Modes
Old   May 23, 2005, 15:57
Default The ever growing .def file!
  #1
James Date
Guest
 
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?

James

  Reply With Quote

Old   May 23, 2005, 20:33
Default Re: The ever growing .def file!
  #2
Rui
Guest
 
Posts: n/a
Hi,

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.

Regards,

Rui
  Reply With Quote

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

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

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
GroovyBC the dynamic cousin of funkySetFields that lives on the suburb of the mesh gschaider OpenFOAM 294 July 12, 2013 05:39
channelFoam for a 3D pipe AlmostSurelyRob OpenFOAM 3 June 24, 2011 13:06
tecio compilation errors in latest 1.6.x rsamuel OpenFOAM Bugs 1 December 22, 2009 03:34
Paraview command not found hardy OpenFOAM Paraview & paraFoam 7 September 18, 2008 04:59
DxFoam reader update hjasak OpenFOAM Post-Processing 69 April 24, 2008 01:24


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