|
[Sponsors] |
Find distance from a cell to a Boundary patch |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
November 20, 2012, 16:00 |
Find distance from a cell to a Boundary patch
|
#1 |
New Member
OEHMU
Join Date: Dec 2010
Posts: 5
Rep Power: 16 |
Hello FOAMEr's,
I have two questions that hope somebody can give me a hit to find and answer or find a better approach: 1. I would like to know how to find the distance from all internal cells to a given boundary patch (fix) at run time in OpenFOAM 2. How to get the distance from a cell that has an alpha<=0.5, in interFoam, to a fix cell that has an alpha around 0.045<=alpha>=0.05 and then use the data to solve a PDE that only applies to such cells (like a water surface elevation) Best regards, OEHMU |
|
March 23, 2016, 00:47 |
|
#2 |
Member
Ripudaman Manchanda
Join Date: May 2013
Posts: 55
Rep Power: 13 |
Were you ever able to find an optimal solution to do this?
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Create a GeometricField of a given type on given patch? | philippose | OpenFOAM Programming & Development | 4 | August 12, 2013 13:41 |
Boundary layer first cell distance | ACER | STAR-CCM+ | 1 | July 19, 2012 11:23 |
Cyclic Boundary Condition | Luiz Eduardo Bittencourt Sampaio (Sampaio) | OpenFOAM Running, Solving & CFD | 36 | July 2, 2012 13:23 |
Retrieving boundary patch values adjacent to a given cell | brooksmoses | OpenFOAM Post-Processing | 2 | December 8, 2008 11:00 |
[Commercial meshers] Trimmed cell and embedded refinement mesh conversion issues | michele | OpenFOAM Meshing & Mesh Conversion | 2 | July 15, 2005 05:15 |