|
[Sponsors] |
Custom boundary condition: unexpected behavior with chtMultiRegionFoam |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
January 28, 2014, 12:51 |
Custom boundary condition: unexpected behavior with chtMultiRegionFoam
|
#1 |
Member
Vincent Leroy
Join Date: Jul 2012
Location: Rhode-Saint-Genèse, Belgium
Posts: 43
Rep Power: 13 |
Dear OpenFOAM users,
I recently wrote a simple custom boundary condition which computes the fluid velocity at the wall using a formula of the type: v = f(rho) * normal While my code yields the expected results using the rhoPimpleFoam solver, everything is messed up when using it with chtMultiRegionFoam, even though I use the exact same parameters for the BC. The near-wall velocity has an inverted orientation, and the upstream flow has a stagnation point, even if the wall velocity is oriented downstream. This is obviously a physical and numerical nonsense ... Is there something in particular that should be taken care of when using chtMultiRegionFoam with custom BCs? Parameters with rhoPimpleFoam: Code:
squareWall { type pyrolysisVelocity; refValue 0.001; massPR 0.001; rhoS -1; rhoName rho; } With chtMultiRegionFoam: Code:
fluid_to_solid { type pyrolysisVelocity; refValue 0.001; massPR 0.001; rhoS -1; rhoName rho; } Last edited by leroyv; January 29, 2014 at 05:10. Reason: corrected typos |
|
Tags |
boundary condition, chtmultiregionfoam, swak4foam |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Mathematical representation of fixedDisplacementZeroShear boundary condition | Sargam05 | OpenFOAM | 14 | January 11, 2022 06:55 |
Low Mixing time Problem | Mavier | CFX | 5 | April 29, 2013 00:00 |
Velocity profile boundary condition | Tuca | FLOW-3D | 1 | April 23, 2013 12:02 |
Bug in fvc::grad() and periodic boundary condition | JBUNSW | OpenFOAM | 3 | November 15, 2012 03:09 |
asking for Boundary condition in FLUENT | Destry | FLUENT | 0 | July 27, 2010 00:55 |