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

I have used OF gui but not OF CLI

Register Blogs Community New Posts Updated Threads Search

Like Tree4Likes
  • 1 Post By Tobermory
  • 1 Post By Tobermory
  • 1 Post By Lt72884
  • 1 Post By Tobermory

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 23, 2024, 17:45
Default I have used OF gui but not OF CLI
  #1
New Member
 
Matt
Join Date: Feb 2024
Posts: 19
Rep Power: 2
Lt72884 is on a distinguished road
Ok, so i have some questions and i am hoping to get some help. I am going to need a lot of help haha.

For the last few months i have been using a GUI for openfoam which has made simulations very nice and simple to run. This GUI is the cfdOF workbench in Ondsel engineering suit (fork of freecad) and its been a blessing to say the least.

all i have to do is double click something like PHYSICS and then pick my settings such as steady time or transient time, single phase, multiphase flow, isothermal, high Mach number viscous, etc etc. Then i move to fluid properties, initialize fields etc etc. I then can do mesh, mesh refinement based on extrusion, surface or volume, and then i can add a reporting function for forces and force coefficients. i mean, its very very nice.

However, i kind of want to try OF from the command line interface or however it is normally run without a gui.

So here is my question.

i have made a simple ogive projectile, a nose cone for a rocket of mine, as i build high powered rockets. IE, my prefect of my team, his rocket hit 300,000 feet.

so, i have this step file of a 3d nose cone i made, and now i would like to CFD the projectile.

when i did this with the GUI, i had the following:

a flow domain 10 times the size in all directions. A surrounded my nose cone with a 3d cube 10 times the size of the cone

4 volume mesh refinements. I did this by placing 4 cylinders centered around the nose cone, each cylinder twice the size of the other. Flow had a course mesh, then each cylinder was set to be a specific refinement so that the mesh on the nosecone was about 10mm for each cell.

the flow domain was set to open farfield with 750m/s in the x direction

RANS k-omega-sst
default 1.25kg/m3
HiSA solver was used.

got back results that matched openrockets numerical analysis.

So i would like to learn to do the same thing without the GUI

I have a 12 core cpu machine and 32gb of gddr4 ram. It handled the 3d case just fine. took about 10 minutes or less for 2000 iterations

Being honest and upfront, im going to need hand holding on this.

thanks to anyone willing
Lt72884 is offline   Reply With Quote

Old   July 24, 2024, 07:04
Default
  #2
Senior Member
 
Join Date: Apr 2020
Location: UK
Posts: 727
Rep Power: 14
Tobermory will become famous soon enough
Your best bet is to book onto a training course - there you will be led through the process and gain proficiency rapidly. Otherwise, google for training course notes (eg Wolf dyamics) and try work through them yourself, using the tutorial cases as a starting point. I doubt that you will find someone with the time or goodwill to act as a personal tutor ...
Tobermory is offline   Reply With Quote

Old   July 24, 2024, 19:12
Default
  #3
New Member
 
Matt
Join Date: Feb 2024
Posts: 19
Rep Power: 2
Lt72884 is on a distinguished road
Quote:
Originally Posted by Tobermory View Post
Your best bet is to book onto a training course - there you will be led through the process and gain proficiency rapidly. Otherwise, google for training course notes (eg Wolf dyamics) and try work through them yourself, using the tutorial cases as a starting point. I doubt that you will find someone with the time or goodwill to act as a personal tutor ...
interesting. I will google for course notes then. Once i gain proficiency in this, i will make youtube videos so others can learn quicker than i did. Try and help the opensource community out a little bit.

thanks
Lt72884 is offline   Reply With Quote

Old   July 24, 2024, 19:36
Default
  #4
New Member
 
Matt
Join Date: Feb 2024
Posts: 19
Rep Power: 2
Lt72884 is on a distinguished road
before i move on, i found that openfoam themselves have some training. I found the pdf of the tutorials in my OF install folder BUT for whatever reason, i do not have the tutorials folder that is supposed to be downloaded. How do i find those files and folders?

i am on windows 10. Is this why they are not available?
Lt72884 is offline   Reply With Quote

Old   July 25, 2024, 03:52
Default
  #5
Senior Member
 
Join Date: Apr 2020
Location: UK
Posts: 727
Rep Power: 14
Tobermory will become famous soon enough
Not sure - I used OF under WSL many years ago, and I don't remember them being missing. But they may well be in your source pack.

Simple remedy: go to the OpenFOAM page (org or ESI) and download the linux source file pack that matches your OpenFOAM version - you will find the tutorials in there. You can discard the rest, of course.
Lt72884 likes this.
Tobermory is offline   Reply With Quote

Old   July 25, 2024, 03:54
Default
  #6
Senior Member
 
Join Date: Apr 2020
Location: UK
Posts: 727
Rep Power: 14
Tobermory will become famous soon enough
On the subject of training, a quick google in YT found the following playlist:
https://www.youtube.com/watch?v=uNpM...mDChejiwm846Wl

I haven't watched these, but I do know that the Wolf Dynamics guys generate some really good training course material, some of which is freely available on the web. Good luck.
Lt72884 likes this.
Tobermory is offline   Reply With Quote

Old   July 25, 2024, 20:52
Default
  #7
New Member
 
Matt
Join Date: Feb 2024
Posts: 19
Rep Power: 2
Lt72884 is on a distinguished road
Quote:
Originally Posted by Tobermory View Post
Not sure - I used OF under WSL many years ago, and I don't remember them being missing. But they may well be in your source pack.

Simple remedy: go to the OpenFOAM page (org or ESI) and download the linux source file pack that matches your OpenFOAM version - you will find the tutorials in there. You can discard the rest, of course.
great minds think alike. I started doing htat last night... then fell asleep hahaha.
Lt72884 is offline   Reply With Quote

Old   July 25, 2024, 21:15
Default
  #8
New Member
 
Matt
Join Date: Feb 2024
Posts: 19
Rep Power: 2
Lt72884 is on a distinguished road
Quote:
Originally Posted by Tobermory View Post
On the subject of training, a quick google in YT found the following playlist:
https://www.youtube.com/watch?v=uNpM...mDChejiwm846Wl

I haven't watched these, but I do know that the Wolf Dynamics guys generate some really good training course material, some of which is freely available on the web. Good luck.
thank you for finding that. hopefully this is enough to get me going. I understnad the theory.. somewhat, i mean, fluid dynamics is hard material, but i did very well in the class and had an excellent professor who spent MANY hours with me as i ask A LOT of questions
Tobermory likes this.
Lt72884 is offline   Reply With Quote

Old   July 26, 2024, 05:45
Default
  #9
Senior Member
 
Join Date: Apr 2020
Location: UK
Posts: 727
Rep Power: 14
Tobermory will become famous soon enough
No problem - and good luck!
Lt72884 likes this.
Tobermory 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
TEXT USER INTERFACE command from GUI PANEL/ACTION or TUI command from GUI command DAMI46 FLUENT 0 July 3, 2024 08:53
SnappyHexMesh GUI add-on for Blender tkeskita OpenFOAM Pre-Processing 22 April 22, 2024 11:45
ANSYS Workbench on "Uncertified" Linux Distros hsr CFX 289 April 20, 2023 09:23
CFD Codes and GUI ganuganu Main CFD Forum 6 July 22, 2019 06:50
Command Line vs. GUI Menus Go FLUENT 0 June 8, 2005 16:05


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