|
[Sponsors] |
July 2, 2021, 00:48 |
what does this syntax mean?
|
#1 |
Senior Member
qutadah
Join Date: Jun 2021
Location: USA
Posts: 101
Rep Power: 5 |
Hallo, im pretty new to openFoam and when doing the tutorial of incompressible steady turbulent flow over a backward-facing step, the following syntax in the BlockMeshDict comes up. Can someone explain how to understand this?
This is the code: hex (0 3 4 1 11 14 15 12) 69 (18 30 1) 70 simpleGrading (0.5 $posY 1) 71 72 hex (2 5 6 3 13 16 17 14) 73 (180 27 1) 74 edgeGrading (4 4 4 4 $negY 1 1 $negY 1 1 1 1) what do the $negY and $posY mean? Thanks! |
|
July 2, 2021, 02:21 |
|
#2 |
Senior Member
M
Join Date: Dec 2017
Posts: 699
Rep Power: 12 |
These are variables declared somewhere else, probably within the blockMeshDict itself (at the top?), or, maybe in another file in your case. In the latter case, then this file would be included in the blockMeshDict at the top by an include statement.
|
|
July 2, 2021, 11:10 |
|
#3 |
Senior Member
qutadah
Join Date: Jun 2021
Location: USA
Posts: 101
Rep Power: 5 |
Hello, yes they are defined in my file, but what do they represent? this is only mentioned in the grading... thanks
negY ( (2 4 1) (1 3 0.3) ); posY ( (1 4 2) (2 3 4) (2 4 0.25) ); posYR ( (2 1 1) (1 1 0.25) ); |
|
July 2, 2021, 11:21 |
|
#4 | |
Senior Member
qutadah
Join Date: Jun 2021
Location: USA
Posts: 101
Rep Power: 5 |
Quote:
plus i have noticed the hex block vertices are defined weirdly, (not like previous examples... even looking at the mesh I am not able to follow which block is which... and there are no 3d vertices) blocks ( hex (0 3 4 1 11 14 15 12) (18 30 1) any idea how is this exactly defined? thanks |
||
Tags |
mesh 2d, openfoam |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
UDF syntax error | Ratel | Fluent UDF and Scheme Programming | 4 | May 23, 2015 06:15 |
what is syntax error : missing ')' before ';' | aleisia | Fluent UDF and Scheme Programming | 8 | March 10, 2015 16:42 |
[OpenFOAM] Annoying issue of automatic "Rescale to Data Range " with paraFoam/paraview 3.12 | keepfit | ParaView | 60 | September 18, 2013 04:23 |
Ansys Fluent 13.0 UDF compilation problem in Window XP (32 bit) | Yogini | Fluent UDF and Scheme Programming | 7 | October 3, 2012 08:24 |
error while compiling the USER Sub routine | CFD user | CFX | 3 | November 25, 2002 16:16 |