|
[Sponsors] |
mapped boundary condition in multi-region solvers |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
February 13, 2019, 08:09 |
mapped boundary condition in multi-region solvers
|
#1 |
New Member
Benedetto Di Paolo
Join Date: Feb 2016
Location: Santander (Spain)
Posts: 4
Rep Power: 10 |
Hi,
I’m trying to exchange information between two boundaries (mappedWall types) in a multi-region approach. I built separately the two regions (domain1 and domain2) by means of two blockMeshDicts. A similar approach can be found in the following tutorial case: OpenFOAM-v1812/tutorials/heatTransfer/chtMultiRegionSimpleFoam/heatExchanger I transferred the velocity field U from patch1 (mappedWall at the outlet of domain1) to patch2 (mappedWall at the inlet of domain2). I achieved it easily this by mapping velocity on patch1 and by fixing it on patch2 in a similar way to the mappedVelocityFluxFixedValue B.C. So B.C. ends like: Code:
operator==(patch1UField); fixedValueFvPatchField<vector>::updateCoeffs(); Now, If I look at the velocity field just a little bit far from patch2 (in domain2), I find completely different values from the ones I fix (patch1UField). It’s like if my value didn’t come out from patch2. Finally I can obtain the expected values at the neighboring patch cells (patch().faceCells()) by applying this B.C. (by fixing the patch values and the internal cells values), as follows: Code:
operator==(patch1UField); Field<vector>& intFld = const_cast<Field<vector>&>(this->primitiveField()); UIndirectList<vector>(intFld, this->patch().faceCells()) = patch1UField; fixedValueFvPatchField<vector>::updateCoeffs(); I just want to fix the velocity on the patch without pushing internal cells values. Thanks you Best regards, Benedetto p { margin-bottom: 0.1in; line-height: 120%; }a:link { } p { margin-bottom: 0.1in; line-height: 120%; }a:link { } Last edited by benedip; February 13, 2019 at 12:45. |
|
Tags |
fixed value, fixed velocity, mappedboundarycondition, multi regions, openfoam 1806 |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Mapped Boundary Condition | louistse | OpenFOAM | 5 | June 1, 2018 09:23 |
Basic Nozzle-Expander Design | karmavatar | CFX | 20 | March 20, 2016 09:44 |
Question about heat transfer coefficient setting for CFX | Anna Tian | CFX | 1 | June 16, 2013 07:28 |
[snappyHexMesh] Multi region meshing & recovering the original patch names | fluidpath | OpenFOAM Meshing & Mesh Conversion | 4 | May 19, 2013 20:13 |
External Radiation Boundary Condition (Two sided wall), Grid Interface | CFD XUE | FLUENT | 0 | July 8, 2010 07:49 |