|
[Sponsors] |
How to find the height of the first cell manually |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
June 2, 2021, 12:53 |
How to find the height of the first cell manually
|
#1 |
New Member
mark
Join Date: Apr 2021
Posts: 3
Rep Power: 5 |
Hi everybody. I was wondering how can i manually calculate the value of the height of the first cell near a wall (y) , not using the equation that relates y and y+. Is there a direct method using Paraview?
|
|
June 2, 2021, 13:23 |
|
#2 |
Senior Member
Join Date: Apr 2020
Location: UK
Posts: 746
Rep Power: 14 |
Yes; here's one way. Start by writing the cell coordinates out as a field:
Code:
postProcess -func writeCellCentres -time 0 1. Get an appropriate view of your mesh 2. Turn on Camera Parallel Projection (on the LHS properties pane) 3. Activate Select Points On (press d key, or click one of the little icons at the top of the window - the one with the points and the arrow) 4. select a point on the boundary 5. turn on Add Selection (the little icon with a + sign and an arrow, again at the top of the window), then select another point (d, or the same icon as before) - on the other side of the same cell. If you can't find the icons, then hold ctrl while you select the nect point and it will do the same thing - add to the selection. 6. Over on the right side of the Paraview window, you should have a Selection Display Indicator pane. If it's not visible, toggle it on with the menu bar View drop down. In that pane, click on the "point labels" drop down and select either C, or perhaps Cz. and bingo! Your points are labelled with their coords. It's pretty useful for basic level checking of the mesh. |
|
Tags |
openfoam |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to find downwind cells of a cell in OpenFOAM ? | Fauster | OpenFOAM Programming & Development | 3 | October 8, 2019 10:09 |
How to find the values of pressure and velocity into each cell? | LeaIna | OpenFOAM Post-Processing | 2 | September 23, 2018 21:06 |
How to use "translation" in solidBodyMotionFunction in OpenFOAM | rupesh_w | OpenFOAM Running, Solving & CFD | 5 | August 16, 2016 05:27 |
interFoam running blowing up | sandy13 | OpenFOAM Running, Solving & CFD | 2 | May 5, 2015 08:16 |
How to find the flux through each cell in a each boundary patch? | Hale | OpenFOAM Pre-Processing | 0 | September 13, 2013 09:52 |