|
[Sponsors] |
November 11, 2016, 04:49 |
cyliderToCell
|
#1 |
Senior Member
ali
Join Date: Jul 2016
Posts: 147
Rep Power: 9 |
Hi All, I have this error! :
" keyword p1 is undefined in dictionary cylinderToCell " But I introduced keyword p1 as fallowing: defaultFieldValues ( volScalarFieldValue alpha.water 1 ); regions ( cylinderToCell { cylinder p1 (-0.83261 0.11118 0); p2 (0.82468 -0.11012 0); radius 0.03; fieldValues ( volScalarFieldValue alpha.water 0 ); } ); Please help me. Ali |
|
November 11, 2016, 04:58 |
|
#2 |
New Member
Join Date: Apr 2014
Posts: 24
Rep Power: 12 |
use
Code:
regions ( cylinderToCell { p1 (x x x); p2 (x x x); radius x.x; fieldValues ( yourFieldValues ) } ); |
|
November 11, 2016, 05:00 |
|
#3 | |
Senior Member
Kevin van As
Join Date: Sep 2014
Location: TU Delft, The Netherlands
Posts: 252
Rep Power: 20 |
Quote:
Also, please use [code\][/code\]-tags (without the backslashes) to show OpenFoam dictionaries for enhanced readability. |
||
|
|