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

Initializing CFX solver from the command line

Register Blogs Community New Posts Updated Threads Search

Like Tree3Likes
  • 2 Post By ghorrocks
  • 1 Post By Opaque

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 2, 2023, 18:37
Default Initializing CFX solver from the command line
  #1
Member
 
Ashkan Kashani
Join Date: Apr 2016
Posts: 46
Rep Power: 10
Ashkan Kashani is on a distinguished road
Hello everyone,

I want to run a transient simulation via the command line. In doing so, I need to initialize the solution using a transient file, namely, initial.trn. I realized this is done by adding an option to the command cfx5solve. However, I am not sure which of the following three options to use
-initial initial.trn
-initial-file initial.trn
-continue-from-file initial.trn
Note: no interpolation is needed (meshes are identical).
I understand that this has been explained in the documentation, but I am still unclear. I appreciate your help very much.
Ashkan Kashani is offline   Reply With Quote

Old   April 3, 2023, 02:32
Default
  #2
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,719
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
All I can do is to repeat the documentation, but that seems a bit pointless.

If you ask a question explaining what you do not understand from the documentation then we can try to answer it.
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum.
ghorrocks is offline   Reply With Quote

Old   April 3, 2023, 03:23
Default
  #3
Senior Member
 
Gert-Jan
Join Date: Oct 2012
Location: Europe
Posts: 1,835
Rep Power: 27
Gert-Jan will become famous soon enough
You cannot initialize from a .trn-file.
You can only initialize from a complete results file. Or a backup file, if you ave any (*.bak)
Gert-Jan is offline   Reply With Quote

Old   April 3, 2023, 05:57
Default
  #4
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,719
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
You can initialise from a trn file if you include the mesh in it. This is not the default option, however. You need to select this option from the transient results file tab in CFX-Pre.
Opaque and Ashkan Kashani like this.
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum.
ghorrocks is offline   Reply With Quote

Old   April 3, 2023, 14:50
Default
  #5
Senior Member
 
Join Date: Jun 2009
Posts: 1,815
Rep Power: 32
Opaque will become famous soon enough
if you do not want to read the documentation, you at least must use the available help from the command you are using

cfx5solve -help

will list ALL the available options. If you think reading through is easier than the documentation, you will find out what you need from there.

As pointed out, you can only initialize from "a full" Ansys CFX file. What are those files? Usually, they include _full.trn, _full.bak or .res in their names. Renaming them is not going to help unless the required data is already stored in them.

Those 3 files contain the mesh, and a sort of solution fields depending on what options you set for them in CFX-Pre. Data that is not provided by those files will be assumed and computed by the software using whatever is already available.
Ashkan Kashani likes this.
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum.
Opaque is offline   Reply With Quote

Reply


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
Divergence detected in AMG solver Rahmani_Zakaria Fluent Multiphase 4 January 11, 2023 15:09
Error: WorkBench Error: Could not handle event: SolutionStatusUpdate Kieyo Fluent Multiphase 0 November 9, 2022 23:58
Error SIGSEGV using VOF and UDF JERC_UTFSM Fluent UDF and Scheme Programming 14 November 7, 2021 23:17
CFX solver workspace & ourfile Problem wangy1767 CFX 1 January 9, 2013 09:38
CFX SOLVER error !!! mehrdadeng CFX 3 November 23, 2009 16:42


All times are GMT -4. The time now is 00:38.