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

Best Initial and Boundary Conditions and solvers to simulate pMDIs

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 6, 2019, 23:41
Unhappy Best Initial and Boundary Conditions and solvers to simulate pMDIs
  #1
New Member
 
Ting Xuan Ng
Join Date: Apr 2019
Posts: 2
Rep Power: 0
Tinger96 is on a distinguished road
Hi Foamers, i am an OpenFOAM beginner. I am currently trying to run simulation on the spray formation pressurized metered dose inhaler(pMDI) using water.

The inhaler geometry has a liquid inlet patch to allow inflow of water and air_inlet patch that allows atmospheric airflow into the domain. I have generated the mesh and currently plan to test the meshes with laminar flow using icoFoam solver. before trying out turbulent conditions.

However im not sure what initial conditions to set for the inlets for air and liquid and also the outlet to accurately simulate spray formation in inhalers.

I tried to set a pressure difference between the inlets and outlet, using pressureInletOutletVelocity. However the courant number tends to explode, thus i increased the nNonOrthogonalCorrectors from 0 to 2, which helped for one timestep but the same thing happens at the next timestep. So i know the problem is the initial conditions, but im not sure whats wrong.

I have also attached the p, U, and the icofoam log for reference, do let me know if you need more info! Thank you!
Attached Images
File Type: jpg Mesh.jpg (70.3 KB, 7 views)
File Type: jpg Mesh cross section.jpg (145.1 KB, 7 views)
Attached Files
File Type: txt p.txt (1.5 KB, 3 views)
File Type: txt U.txt (1.7 KB, 2 views)
File Type: txt logicoFoam.txt (5.1 KB, 2 views)
Tinger96 is offline   Reply With Quote

Old   May 7, 2019, 10:13
Post
  #2
New Member
 
Ting Xuan Ng
Join Date: Apr 2019
Posts: 2
Rep Power: 0
Tinger96 is on a distinguished road
Here are the other files that could be relevant:
Attached Files
File Type: txt fvSchemes.txt (1.2 KB, 1 views)
File Type: txt fvSolution.txt (1.3 KB, 1 views)
File Type: txt transportProperties.txt (1,011 Bytes, 1 views)
File Type: txt controlDict.txt (1.4 KB, 1 views)
Tinger96 is offline   Reply With Quote

Reply

Tags
#courant, #icofoam, #initialconditions, #pmdi, #spray


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
Problem with chtMultiregionFoam radiation boundary condition baran_foam OpenFOAM Running, Solving & CFD 10 December 17, 2019 17:36
LES, Courant Number, Crash, Sudden Alhasan OpenFOAM Running, Solving & CFD 5 November 22, 2019 02:05
Suppress twoPhaseEulerFoam energy AlmostSurelyRob OpenFOAM Running, Solving & CFD 33 September 25, 2018 17:45
Conjugate heat transfer- chtMultiRegionFoam Divergence after changing mesh size sandymech1 OpenFOAM Running, Solving & CFD 1 March 10, 2018 13:09
Induction Motor in chtMultiRegionFoam xsa OpenFOAM Running, Solving & CFD 0 December 28, 2016 06:16


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