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

Troubleshooting oscillating flowrate through complex geometry

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 14, 2022, 17:53
Default Troubleshooting oscillating flowrate through complex geometry
  #1
New Member
 
Luke Reid
Join Date: Feb 2020
Posts: 3
Rep Power: 6
lreid is on a distinguished road
Hi all,

I am having a some difficulty troubleshooting an error and am hoping someone would be able to give some here can help. I have provided the details of the case below.

Code:
[0] #0  Foam::error::printStack(Foam::Ostream&) at ??:?
[0] #1  Foam::sigFpe::sigHandler(int) at ??:?
[0] #2  ? in /lib/x86_64-linux-gnu/libpthread.so.0
[0] #3  Foam::multiply(Foam::Field<double>&, Foam::UList<double> const&, Foam::UList<double> const&) at ??:?
[0] #4  Foam::tmp<Foam::DimensionedField<double, Foam::volMesh> > Foam::operator*<Foam::volMesh>(Foam::DimensionedField<double, Foam::volMesh> const&, Foam::DimensionedField<double, Foam::volMesh> const&) at ??:?
[0] #5  Foam::RASModels::kOmega<Foam::IncompressibleTurbulenceModel<Foam::transportModel> >::correct() at ??:?
[0] #6  ? in /usr/lib/openfoam/openfoam2006/platforms/linux64GccDPInt32Opt/bin/pimpleFoam
[0] #7  __libc_start_main in /lib/x86_64-linux-gnu/libc.so.6
[0] #8  ? in /usr/lib/openfoam/openfoam2006/platforms/linux64GccDPInt32Opt/bin/pimpleFoam
Note: I have read the posts on debugging error like this and have narrowed down to lines 3 and 5, but uncertain of the solution.

CASE DETAILS

I am trying to simulate an unsteady oscillatory airflow rate through an upper respiratory tract geometry. The geometry is meshed using snappyHexMesh with checkMesh output suggesting an OK mesh (checkMeshLog attached). This is solved using kOmega and pimpleFoam, I have attached my '0' and 'system' files for detail on set up.

BC at inlet:

p - zeroGradient
k - fixedValue
omega - fixedValue
U - {
type flowRateInletVelocity;
volumetricFlowRate
{
type sine;
frequency 0.266;
amplitude 0.0016;
scale 1;
level 0;
}
}

BC at outlet:

p - fixedValue; uniform 0;
k- zeroGradient
omega - zeroGradient
U - zeroGradient


Additional information on error

It appears when visualising the results, the flow changes direction (outlet to inlet) there is a spike in velocity at the outlet then the inlet (see velocity vectors in attached images). Also, there in a dramatic drop in timestep to maintain the Courant no < 0.5.

This is my first time posting so let me know if there's any other useful information I can provide. I tried to convey what is necessary.

I would really appreciate any help the forum has to offer as I have been stuck on this for months.

Cheers,
Luke
Attached Images
File Type: jpg 1.1_velocityVectors.jpg (26.0 KB, 2 views)
File Type: jpg 1.2_velocityVectors_1.99.jpg (26.7 KB, 2 views)
Attached Files
File Type: zip system.zip (4.9 KB, 2 views)
File Type: zip zero.orig.zip (3.6 KB, 1 views)
File Type: txt CheckMeshLog.txt (3.5 KB, 0 views)
lreid 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
[ANSYS Meshing] Help with meshing a complex geometry amsys ANSYS Meshing & Geometry 2 April 8, 2020 02:45
[ICEM] Complex geometry mesh general questions Jack B ANSYS Meshing & Geometry 0 August 14, 2019 13:44
[ICEM] Holes in complex ICEM geometry alecbann ANSYS Meshing & Geometry 2 April 4, 2019 03:40
Solving complex geometry with compressible flow gfoam FLUENT 1 May 19, 2017 14:56
how to deal with complex geometry using ICEM? prayskyer CFX 3 June 20, 2006 07:33


All times are GMT -4. The time now is 16:51.