CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Programming & Development (https://www.cfd-online.com/Forums/openfoam-programming-development/)
-   -   "genCase" utility survey (https://www.cfd-online.com/Forums/openfoam-programming-development/205161-gencase-utility-survey.html)

simrego August 10, 2018 16:28

"genCase" utility survey
 
Hi!


First of all sorry for my English!


I'm wondering if it could be useful to develop a let's call "genCase" utility which could be a guideline for generate the base file structure for a case.
It should run in the command prompt with a really simple "GUI" where you can choose the solver, then the turb. model, then the mat props, then you could define the boundary conditions just with their names and types and from the solver option and turb model it could generate the 0 directory with some basic BCs like fixedValue inlet veloc and outlet pressure and basic wall function for walls.
And it could generate a full basic GAMG for every solver with a first/second order upwind scheme just for simplicity.

Of course if you wan't some fancy BC you will have to correct that, but it could create the base case nearly done (~80%?) within 1-2 minutes.



Just because it's pretty boring to always find a proper tutorial case, copy it, open the files, check if all ok, rename/rewrite everything, etc...


Or if you know any trick to generate a base case really fast without a GUI (I know there are a lot, but they are really limited and it shouldn't be a real gui, just a guideline for the case generation) please let me know.
As i mentioned, this find, then copy a tutorial case and modify everything is a ... pain in the ***.


Now it is just a survey, but if someone else can see some potential in it, I would try to implement this.





Thanks for your feedback!
Regő


All times are GMT -4. The time now is 22:46.