|
[Sponsors] |
September 13, 2011, 10:09 |
Hard drive storage and .cfx vs .def files
|
#1 |
New Member
Join Date: Jan 2011
Posts: 21
Rep Power: 15 |
Hi everyone,
This might be a silly question, but I couldn't find a clear answer, either in the manuals or the forums, so I thought I'd just ask. Is there any important difference between the information contained in .cfx and .def files? I've been struggling with limited hard drive storage space (I know about all obvious solutions, here, like buying an external hard drive, but school regulations make these impractical - I would have to buy backed up storage on the university server which is on the expensive end for a project with no budget...) To make a long story short, I'm trying to stretch my hard disk space and I noticed that .cfx and .def files can get pretty large. I've got loads of them, and I like to keep them in case I want to go back to a previous simulation setup, but I was wondering if there was a good reason to keep both .cfx and .def files for previously run simulations, or whether keeping just one of them would give me all the info I need. (I understand that in theory, all the info is printed in the .out file, but who wants to start from stratch every time...) Thanks, Audrey |
|
September 13, 2011, 11:01 |
|
#2 |
Senior Member
Join Date: Apr 2009
Posts: 531
Rep Power: 21 |
I usually just keep the .def files. You can open a .def file in CFX-Pre then hit save to recover the .cfx file. The .def file only contains the info needed for the current run, so in some cases the .cfx file can contain additional information (e.g. materials and other library data that have been defined but not used), but this isn't usually a concern.
|
|
September 13, 2011, 11:05 |
|
#3 |
New Member
Join Date: Jan 2011
Posts: 21
Rep Power: 15 |
Thanks! That makes sense. The extra stuff that has been defined but not used is actually more of a problem than a solution for me, because I keep realising that I forgot to update an expression or the properties of a material... I think I'll adopt the same strategy and only keep .def files. (I'll probably keep .cfx files for some of the most recent runs, just in case)
|
|
September 15, 2011, 22:39 |
|
#4 |
Senior Member
Bruno
Join Date: Mar 2009
Location: Brazil
Posts: 277
Rep Power: 21 |
I think the only time a .cfx file is better then a def file is when you're working with a multiconfiguration setup and you have only one mesh (say, if you're setting a multiconfiguration run to start with a steady state simulation and then go transient). In that case the mesh is the same, and the .cfx file will only store one instance of it. The def (or mdef, for multiconfiguration definitions) file won't be a single file, but a folder filled with the different configrations generated.
An if your really have to save space, delete the res and keep the out file, so at least you know what you'll have to do to get to the same result. |
|
September 16, 2011, 01:34 |
|
#5 |
Member
D
Join Date: Nov 2010
Posts: 50
Rep Power: 16 |
One other instance where a CFX file is better than a def file is when you have multiple meshes which you have imported individully imported in CFX and have joined them using interfaces. In such a case if you need to replace only a single mesh file, then CFX file is your easy way out, coz in de4f you cannot perform this as .def file will show a single mesh.
-Dinesh |
|
September 16, 2011, 07:19 |
|
#6 |
New Member
Join Date: Jan 2011
Posts: 21
Rep Power: 15 |
Thanks, that's good to know. For now, I'm sticking to steady state simulations with a single mesh, so I think it's ok to keep only .def files. I've been keeping most .res files, but if I run out of space too quickly, I might start deleting the simulations that didn,t converge - I've got LOADS of those.......
|
|
Tags |
.cfx, .def, storage |
|
|