CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > General Forums > Main CFD Forum

Advice on CFD Modeling for Classroom Simulation

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 25, 2024, 08:38
Default Advice on CFD Modeling for Classroom Simulation
  #1
New Member
 
Joseph
Join Date: Nov 2024
Posts: 2
Rep Power: 0
Joseph 27 is on a distinguished road
Hello,

I'm new to CFD, and I want to simulate the airflow in a classroom using OpenFOAM to obtain CO₂ distribution, temperature and humidity profiles, airflow patterns, etc.

To create the room, I was planning to use Salome. The classroom will include people, tables, and a heating system (located in the ceiling, which I will attempt to simulate, though it is not my primary focus).

My question is: Is Salome the right tool for this type of work, considering the mesh and complexity? Or are there other, more accurate open-source programs you would recommend?

Thank you for your help!
Joseph 27 is offline   Reply With Quote

Old   November 26, 2024, 12:10
Default
  #2
New Member
 
Steve Rogers
Join Date: Nov 2024
Posts: 1
Rep Power: 0
steve_rogers56 is on a distinguished road
Yes, Salome is a good choice for generating meshes for complex geometries like a classroom. It integrates well with OpenFOAM and offers flexibility for detailed meshing. However, for very intricate features or alternative workflows, you might also consider Gmsh, which is lightweight and widely used in CFD. Both are effective, depending on your comfort and project needs.
steve_rogers56 is offline   Reply With Quote

Old   Yesterday, 15:24
Default
  #3
New Member
 
Joseph
Join Date: Nov 2024
Posts: 2
Rep Power: 0
Joseph 27 is on a distinguished road
Quote:
Originally Posted by steve_rogers56 View Post
Yes, Salome is a good choice for generating meshes for complex geometries like a classroom. It integrates well with OpenFOAM and offers flexibility for detailed meshing. However, for very intricate features or alternative workflows, you might also consider Gmsh, which is lightweight and widely used in CFD. Both are effective, depending on your comfort and project needs.
Hello Captain Rogers! �� Thank you for your response.

I’ve created a geometry with multiple inlets. For each inlet, I started by creating a surface (either a disk or a rectangle), then translated it to the target region. Afterward, I added a thickness to the surface and cut the main box using this thickness to create the inlet or outlet. So far, everything seemed to work fine.

The issue arose when I started organizing the geometry into groups for CFD simulation. While creating groups for walls and floors was straightforward, I ran into trouble with inlets and outlets. Specifically:

I couldn’t select the inlet to include it in a group.
To address this, I tried fusing or exploding the inlet to separate it from the wall surface. This allowed me to create a group, but the group only appeared under the inlet's branch in the tree, not under the main box's branch.
If I tried to create a group under the box's branch, I encountered an error, as if the inlet wasn’t properly “attached” to the box.
So my questions are:

Is there an alternative method for creating inlets and outlets in Salome?
If this is the correct approach, what might I be doing wrong?
Thank you so much for your help! ��
Joseph 27 is offline   Reply With Quote

Reply

Tags
cfd, mesh, openfoam, salome


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
General recommendations for CFD hardware [WIP] flotus1 Hardware 19 June 23, 2024 19:02
CFG file Set Up Nicola_Fontana SU2 5 November 16, 2021 13:48
CFD Online Celebrates 20 Years Online jola Site News & Announcements 22 January 31, 2015 01:30
State of the Art in CFD for wind turbine modeling SET_WIND Main CFD Forum 0 October 9, 2012 07:01
CFD - Trends and Perspectives Jonas Larsson Main CFD Forum 16 August 7, 1998 17:27


All times are GMT -4. The time now is 15:52.