|
[Sponsors] |
How to impose both normal and tangential gradient boundary conditions for U and p |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
June 17, 2019, 08:01 |
How to impose both normal and tangential gradient boundary conditions for U and p
|
#1 |
New Member
Join Date: Aug 2016
Posts: 19
Rep Power: 10 |
I am simulating incompressible laminar external flows in 2D (e.g. flow past cylinder, airfoil, etc.). For this I am using a hybrid solver consisting of pimpleFoam coupled to another non-OpenFOAM solver. I use pimpleFoam only to simulate the near-body flow. The meshes I use are small: the numerical boundary is close to the solid body. Hence, the boundary conditions I need to impose for U and p are unsteady and non-uniform.
With the external solver I can compute the velocity, velocity gradient, pressure and pressure gradient at the coordinates of the face centers at the boundary of the mesh used by pimpleFoam. To impose these conditions I have modified the inletOutlet and outletInlet boundary conditions such that I can change at each time step the:
The problem I am facing now is that for the gradients I am now only imposing the normal component. Because I can get everything from the external solver I would also like to impose the tangential component of the gradients. So my question is: what do I need to modify in inletOutlet and outletInlet such that I can impose the actual gradients and not merely their normal component. ps: If it makes more sense to start development from a different boundary condition (e.g. mixed or directionMixed) please tell me. |
|
May 6, 2020, 11:20 |
|
#2 |
New Member
Join Date: May 2020
Posts: 1
Rep Power: 0 |
If you solve your problem, I would be interested in knowing the answer
|
|
May 6, 2020, 17:30 |
|
#3 |
Senior Member
Herpes Free Engineer
Join Date: Sep 2019
Location: The Home Under The Ground with the Lost Boys
Posts: 931
Rep Power: 13 |
if there is a code example, we may try to work on that.
__________________
The OpenFOAM community is the biggest contributor to OpenFOAM: User guide/Wiki-1/Wiki-2/Code guide/Code Wiki/Journal Nilsson/Guerrero/Holzinger/Holzmann/Nagy/Santos/Nozaki/Jasak/Primer Governance Bugs/Features: OpenFOAM (ESI-OpenCFD-Trademark) Bugs/Features: FOAM-Extend (Wikki-FSB) Bugs: OpenFOAM.org How to create a MWE New: Forkable OpenFOAM mirror |
|
Tags |
boundary conditions, inlet and outlet, neuman conditions, neumann boundary |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
mesh file for flow over a circular cylinder | Ardalan | Main CFD Forum | 7 | December 15, 2020 14:06 |
Calculation Tangential & Normal gradients of a Scalar near a surface. | AnthonyP | OpenFOAM Programming & Development | 12 | July 22, 2020 10:01 |
Slip and Symmetry boundary conditions | giuse | OpenFOAM Programming & Development | 3 | December 20, 2016 04:21 |
Surface normal velocity BC with zero gradient tangential, cylinder | c_dowd | OpenFOAM Running, Solving & CFD | 0 | May 25, 2013 08:22 |
Radial and Tangential Velocity boundary conditions | N. A. | OpenFOAM | 4 | September 2, 2011 08:21 |