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

Editing a definition file

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 1, 2022, 05:22
Default Editing a definition file
  #1
LSR
New Member
 
Virat Kohli
Join Date: Feb 2022
Posts: 1
Rep Power: 0
LSR is on a distinguished road
I have a .def file but I want to change some options in the solver setup. Is it possible to edit it in the .def file or do I have to setup the solver again?
I don't have the .cfx file, so cant really just edit it and write a new .def file. I don't have the project as well. I just have .msh and .def files.
LSR is offline   Reply With Quote

Old   February 1, 2022, 06:20
Default
  #2
Senior Member
 
Gert-Jan
Join Date: Oct 2012
Location: Europe
Posts: 1,913
Rep Power: 28
Gert-Jan will become famous soon enough
You can open a .def file in Pre. No props.

I use CFX preferably stand alone through the CFX-Launcher. There start CFX-Pre, and open the def, change the settings and save a new .def-file. You can run and postprocess the files also through the launcher.

Since CFX-Pre eats .def-files, .cfx-files are obsolete. Therefore I never save the case in Pre as a .cfx file. As a result, I only have .def-files and .res-files
Gert-Jan is offline   Reply With Quote

Old   February 1, 2022, 09:46
Default
  #3
Senior Member
 
Join Date: Jun 2009
Posts: 1,873
Rep Power: 33
Opaque will become famous soon enough
Quote:
Originally Posted by Gert-Jan View Post
You can open a .def file in Pre. No props.

I use CFX preferably stand alone through the CFX-Launcher. There start CFX-Pre, and open the def, change the settings and save a new .def-file. You can run and postprocess the files also through the launcher.

Since CFX-Pre eats .def-files, .cfx-files are obsolete. Therefore I never save the case in Pre as a .cfx file. As a result, I only have .def-files and .res-files
The use of .cfx files, and .def files depends on your approach to projects.

The .cfx files keeps the history of meshes imported for a project. The .def file contains a snapshot of a model, and any extra information is removed at writing.

For example, you start assembling a turbomachine with multiple blade rows, cavities, etc. For some reason, you need to cut out a few parts to reduce the model. You do not need to delete the meshes, just remove them from the physics appropriately (replace with Boundary conditions, etc), Write the definition file, and proceed.

You can then, either move to the next model. But you still have all the pieces in the project.
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum.
Opaque is offline   Reply With Quote

Reply

Tags
.def, cfx, editing


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
Using PengRobinsonGas EoS with sprayFoam Jabo OpenFOAM Running, Solving & CFD 36 July 16, 2024 04:52
polynomial BC srv537 OpenFOAM Pre-Processing 4 December 3, 2016 10:07
Version 15 on Mac OS X gschaider OpenFOAM Installation 113 December 2, 2009 11:23
ParaView Compilation jakaranda OpenFOAM Installation 3 October 27, 2008 12:46
DecomposePar links against liblamso0 with OpenMPI jens_klostermann OpenFOAM Bugs 11 June 28, 2007 18:51


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