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

Automatically create .cas files from .msh?

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

Like Tree1Likes
  • 1 Post By LuckyTran

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 2, 2020, 08:32
Default Automatically create .cas files from .msh?
  #1
New Member
 
PJ
Join Date: Mar 2017
Posts: 7
Rep Power: 9
epaj95 is on a distinguished road
Hello all,

I have hundreds of volume meshes (pipe-like shapes) which I want to run simulations on. I want to automatically create the .cas files for each .msh, applying boundary conditions and so on with a script. Once all .cas files are created I want to run the simulations.

Is this possible (maybe with a journal file)? Does anyone have experience creating this sort of pipeline?

Thank you.
epaj95 is offline   Reply With Quote

Old   April 2, 2020, 09:20
Default
  #2
Senior Member
 
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,654
Rep Power: 65
LuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura about
Just learn the TUI commands. Probably the fastest way to learn it is to open up Fluent (a normal interactive session with a GUI) and press the enter key. All the available text commands will print to the screen. Play around with it until you learn how to do things using text commands. Then you just duplicate this in a text file and that becomes the journal file. Or you can read the help file (probably no one does this). There's a big book called Text Command List.


Actually a .msh file is a direct pre-cursor to a .cas file. And to read a .msh file using the text commands you would actually just use the command to read a .cas file....
Code:
file/read-case adsjfadsfj.msh
epaj95 likes this.
LuckyTran is offline   Reply With Quote

Old   April 2, 2020, 09:32
Default
  #3
New Member
 
PJ
Join Date: Mar 2017
Posts: 7
Rep Power: 9
epaj95 is on a distinguished road
Quote:
Originally Posted by LuckyTran View Post
Just learn the TUI commands. Probably the fastest way to learn it is to open up Fluent (a normal interactive session with a GUI) and press the enter key. All the available text commands will print to the screen. Play around with it until you learn how to do things using text commands. Then you just duplicate this in a text file and that becomes the journal file. Or you can read the help file (probably no one does this). There's a big book called Text Command List.


Actually a .msh file is a direct pre-cursor to a .cas file. And to read a .msh file using the text commands you would actually just use the command to read a .cas file....
Code:
file/read-case adsjfadsfj.msh
Great, this is very helpful, thank you
epaj95 is offline   Reply With Quote

Reply

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
how to convert Openfoam data to fluent .cas and .msh files sachinlb FLUENT 4 December 8, 2023 17:27
critical error during installation of openfoam Fabio88 OpenFOAM Installation 21 June 2, 2010 04:01
.gg files to .msh ricky FLUENT 2 September 20, 2008 18:08
Results saving in CFD hawk Main CFD Forum 16 July 21, 2005 21:51
Merging .msh files in TGrid Raza Mirza FLUENT 2 January 18, 2001 19:09


All times are GMT -4. The time now is 10:08.