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

OpenFOAM first simulation project

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 16, 2020, 15:36
Default OpenFOAM first simulation project
  #1
New Member
 
Join Date: Sep 2017
Posts: 16
Rep Power: 8
hityo is on a distinguished road
Hey Foamers,

I am trying this first 2D simulation in OpenFoam and I want to know your expert opinion how should approach it.

I have to find Volumerate at Outlet.

I am thinking of incompressible, turbulent simulation.

Where should I give 50 Pa as a inlet Boundary condition if all others are wal
Attached Files
File Type: pdf Room.pdf (27.8 KB, 17 views)
hityo is offline   Reply With Quote

Old   February 18, 2020, 04:43
Default
  #2
Super Moderator
 
Tobi's Avatar
 
Tobias Holzmann
Join Date: Oct 2010
Location: Tussenhausen
Posts: 2,708
Blog Entries: 6
Rep Power: 51
Tobi has a spectacular aura aboutTobi has a spectacular aura aboutTobi has a spectacular aura about
Send a message via ICQ to Tobi Send a message via Skype™ to Tobi
Hi,
  • Create you mesh (blockMesh/Salome/other software)
  • Use setFields to initialize the pressure value (50 Pa) inside the room
  • set the pressure outside the room to fixedvalue = 0 Pa
  • Use pressure related boundary conditions for U outside the room
  • Use pimpleFoam (or pisoFoam / icoFoam / what you prefer - Pimple is recommended)
  • Done

Depending on the velocity and so on, you should check if compression is a phenomenon to capture. If so, you should use a density based solver rather than a pressure based one.

Also change the transportProperties to your specific fluid and set the turbulent model according to your needs.
__________________
Keep foaming,
Tobias Holzmann
Tobi is offline   Reply With Quote

Old   March 2, 2020, 09:28
Default
  #3
New Member
 
Join Date: Sep 2017
Posts: 16
Rep Power: 8
hityo is on a distinguished road
Hello,

Thank you for the Reply!

I am trying to do a steady state simulation so simpleFoam is the obvious choice ?
hityo is offline   Reply With Quote

Old   March 3, 2020, 06:46
Default
  #4
New Member
 
Vignesh Veeresparan
Join Date: Feb 2020
Posts: 8
Rep Power: 6
Vignesh Veeresparan is on a distinguished road
Hi,

Are you trying to do steady state compressible or steady state in compressible flow?

If steady state compressible use rhoSimpleFoam else simpleFoam.

Hope i answered your question.
Vignesh Veeresparan is offline   Reply With Quote

Reply

Tags
beginners, boundary condition, openfoam 17.06(v2)


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
Getting Started with OpenFOAM wyldckat OpenFOAM 25 August 14, 2022 13:55
OpenFOAM course for beginners Jibran OpenFOAM Announcements from Other Sources 2 November 4, 2019 08:51
OpenFoam - Simulation suddenly stops, reactingFoam Vittorio94 OpenFOAM Programming & Development 2 June 25, 2019 03:02
OpenMPI error at the beginnin of parallel OpenFOAM Simulation tre95 OpenFOAM Programming & Development 2 June 17, 2019 06:36
Suggestion for a new sub-forum at OpenFOAM's Forum wyldckat Site Help, Feedback & Discussions 20 October 28, 2014 09:04


All times are GMT -4. The time now is 07:43.