CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Programming & Development

Inspecting case structure

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 4, 2024, 09:32
Default Inspecting case structure
  #1
New Member
 
Juan Pablo Carbajal
Join Date: Jun 2021
Posts: 23
Rep Power: 5
kakila is on a distinguished road
Dear all,

Quite often we are faced with the following questions:

1. Given a dictionary file name (e.g. controlDict) where does it belong in the case folder structure?

2. Given a table/entry name (e.g. massSource) in which dictionary files can bit be placed?

3. Given a solver name (e.g. fluid) what dictionary files will it parse?

We have try to answer these with the foamToC application, but it seems to answer the question:

4. Given a solver what table/entries can it consume?
And the question of where to put those is left unanswered. Sometimes it helps to read the documentation of the given table/entry retrieved by foamInfo.

Is there a way to answer question 1-3 programmatically.
That is, other than manual exploration of output of foamInfo, searching the tutorials, or reading the source code?

To help us to partially answer the questions we use a database that we build by scanning the $FOAM_TUTORIALS folder (we exclude multi region cases).
The database we built for OF.org v12 is attached.

Thank you very much for any input provided
Attached Files
File Type: zip of_locations.csv.zip (13.6 KB, 0 views)
kakila is offline   Reply With Quote

Reply

Tags
case setup, folders and files


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
Fluid structure analysis of 2D airfoil case ahsan_smme.nust@yahoo.com OpenFOAM 0 April 22, 2014 07:12
Divergence with a flexible structure in a FSI case Zymon CFX 14 January 26, 2012 09:33
Error reading new case montag dp FLUENT 5 September 15, 2011 07:00
Generic case structure for iterative design process capucsc OpenFOAM 4 May 6, 2011 12:26
Free surface boudary conditions with SOLA-VOF Fan Main CFD Forum 10 September 9, 2006 13:24


All times are GMT -4. The time now is 02:27.