|
[Sponsors] |
Find distance from a cell to a Boundary patch |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
November 20, 2012, 15:00 |
Find distance from a cell to a Boundary patch
|
#1 |
New Member
OEHMU
Join Date: Dec 2010
Posts: 5
Rep Power: 15 |
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 22, 2016, 23:47 |
|
#2 |
Member
Ripudaman Manchanda
Join Date: May 2013
Posts: 55
Rep Power: 12 |
Were you ever able to find an optimal solution to do this?
|
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
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 12:41 |
Boundary layer first cell distance | ACER | STAR-CCM+ | 1 | July 19, 2012 10:23 |
Cyclic Boundary Condition | Luiz Eduardo Bittencourt Sampaio (Sampaio) | OpenFOAM Running, Solving & CFD | 36 | July 2, 2012 12:23 |
Retrieving boundary patch values adjacent to a given cell | brooksmoses | OpenFOAM Post-Processing | 2 | December 8, 2008 10:00 |
[Commercial meshers] Trimmed cell and embedded refinement mesh conversion issues | michele | OpenFOAM Meshing & Mesh Conversion | 2 | July 15, 2005 04:15 |