|
[Sponsors] |
[blockMesh] What is $posY and why it is defined in edgeGrading? |
![]() |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
![]() |
![]() |
#1 |
New Member
FOAMraj
Join Date: Apr 2021
Posts: 19
Rep Power: 5 ![]() |
What are $posY, $negY, and $posYR, and why they are defined in edgeGrading? Can anyone explain this geometrically? I extracted this code from this link. https://bit.ly/3v0uhCf
Thank you. /*--------------------------------*- C++ -*----------------------------------*\ |
|
![]() |
![]() |
![]() |
![]() |
#2 |
Senior Member
Mark Olesen
Join Date: Mar 2009
Location: https://olesenm.github.io/
Posts: 1,715
Rep Power: 41 ![]() ![]() |
The OpenFOAM dictionary syntax supports variable substitution, somewhat like you might have seen with shell script.
- look within the file to see where the variables are defined. - it will look very ugly for the blockMeshDict but don't forget that you can always use "foamDictionary -expand" to see what the final form (after substitution) looks like. |
|
![]() |
![]() |
![]() |
![]() |
#3 | |
New Member
FOAMraj
Join Date: Apr 2021
Posts: 19
Rep Power: 5 ![]() |
Quote:
I am just a beginner in OpenFoam and what I have understood is they are just variables that store the coordinates. One question: What will be the form in line 78(say) if I didn't write it? Will there be errors or any change in the mesh? Thank you. |
||
![]() |
![]() |
![]() |
Tags |
mesh and grid, turbulence |
Thread Tools | Search this Thread |
Display Modes | |
|
|