|
[Sponsors] |
Climbing inlet pressure with simpleFoam and directMappedPatches |
![]() |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
![]() |
![]() |
#1 |
Senior Member
Daniel P. Combest
Join Date: Mar 2009
Location: St. Louis, USA
Posts: 621
Rep Power: 0 ![]() ![]() |
Hello,
I've been racking my brain trying to figure this one out and its stumped me. I'm using a really complicated 3d Mesh over the domain below: ![]() and it has been decomposed in scotch like so: ![]() All works fine (no errors) with simpeFoam and directMapped patches and I get convergence plots looking like ![]() I'm monitoring point values around the domain in various locations and everything just keeps increasing linearly. Nothing seems to be topping off and evening out. On courser meshes, I do get some flattening of values...but im interested in the fine mesh. I am looking at changing my pRefCell to someplace different...but Im not sure if that will help. I also tried to use cyclic boundary conditions and make a simpleChannelFoam hybrid of channelFoam and simpleFoam with no luck on convergence (in the channel solver, i get pretty crazy gradP within 10 iterations). Any thoughts? Could it be my discretization using linearUpwind? Sorry for the large pictures in the post. Patch summary is : Code:
Time = 2001 Valid fields: volScalarField nut volVectorField U volScalarField k volScalarField p volScalarField epsilon wall: particles scalar nut calculated scalar k zeroGradient scalar p zeroGradient scalar epsilon zeroGradient vector U fixedValue wall: tube scalar nut calculated scalar k zeroGradient scalar p zeroGradient scalar epsilon zeroGradient vector U fixedValue patch: outlet scalar nut zeroGradient scalar k zeroGradient scalar p fixedValue scalar epsilon zeroGradient vector U zeroGradient symmetryPlane: zyplane scalar nut symmetryPlane scalar k symmetryPlane scalar p symmetryPlane scalar epsilon symmetryPlane vector U symmetryPlane symmetryPlane: zxplane scalar nut symmetryPlane scalar k symmetryPlane scalar p symmetryPlane scalar epsilon symmetryPlane vector U symmetryPlane directMappedPatch: inlet scalar nut zeroGradient scalar k directMapped scalar p zeroGradient scalar epsilon directMapped vector U directMapped End |
|
![]() |
![]() |
![]() |
![]() |
#2 |
Senior Member
Daniel P. Combest
Join Date: Mar 2009
Location: St. Louis, USA
Posts: 621
Rep Power: 0 ![]() ![]() |
Just thought I would provide an answer in case anyone else is looking for an answer. I ended up using an inletOutlet condition for velocity at the exit with
Code:
outlet { type inletOutlet; inletValue uniform ( 1e-20 1e-20 1e-20 ); value uniform ( 0 0 1 ); } Code:
outlet { type fixedMeanValue; value uniform 1; meanValue 1e-20; } |
|
![]() |
![]() |
![]() |
|
|