|
[Sponsors] |
![]() |
![]() |
#1 |
New Member
Marco Grippa
Join Date: Aug 2016
Posts: 3
Rep Power: 10 ![]() |
Hi everyone,
I have a huge problem with setFields regions, this is the file: **************** defaultFieldValues ( volScalarFieldValue alpha.water 0 volScalarFieldValue k 0.002631185 volScalarFieldValue omega 10.85208933 ); regions ( boxToCell { box (-6 -6 -6) (6 6 0.35); fieldValues (volScalarFieldValue alpha.water 1); } boxToFace { box (-6 -6 -6) (6 6 0.35); fieldValues (volScalarFieldValue alpha.water 1);} cylinderToCell { p1 (0 0 0.01); p2 (0 0 0.35); radius 0.2932; fieldValues ( volScalarFieldValue k 0.00238298 volScalarFieldValue omega 2.9972055);} cylinderToFace { p1 (0 0 0.01); p2 (0 0 0.35); radius 0.2932; fieldValues ( volScalarFieldValue k 0.00238298 volScalarFieldValue omega 2.9972055);} cylinderToCell { p1 (0 0 -0.144); p2 (0 0 0); radius 0.207; fieldValues ( volScalarFieldValue k 0.0038408 volScalarFieldValue omega 9.430644);} cylinderToFace { p1 (0 0 -0.144); p2 (0 0 0); radius 0.207; fieldValues ( volScalarFieldValue k 0.0038408 volScalarFieldValue omega 9.430644);} ); ************** the last 2 regions (cylinderToCell and cylinderToFace) are not set in OpenFOAM, and I have no clue why. The region overlaps with a rotating frame area, addressed in topoSet file. Is that the issue? If yes, how to set it correctly? I tried setting boxes and cylinderAnnulus instead of cylinders but still not fixed. Can anyone know about it? I'd truly appreciate it. Regards, Marco |
|
![]() |
![]() |
![]() |
![]() |
#2 |
New Member
wenju liu
Join Date: Oct 2016
Posts: 6
Rep Power: 9 ![]() |
I don't know whether you have solved it or not! If you have solved it, could you paste your code, thank you! If you have not solve it, i also want more people see it.
![]() |
|
![]() |
![]() |
![]() |
![]() |
#3 |
New Member
wenju liu
Join Date: Oct 2016
Posts: 6
Rep Power: 9 ![]() |
I have solved your question about cylinderAnnulusToCell, this is my code:
regions ( cylinderAnnulusToCell { p1 (0 0 0); outerRadius 0.1; p2 (0 0 0.3); innerRadius 0.05; fieldValues ( volScalarFieldValue alpha.SSC 1 ); } ); ![]() |
|
![]() |
![]() |
![]() |
Tags |
boxtocell, cylindertocell, regions, setfields, toposet |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
how to set periodic boundary conditions | Ganesh | FLUENT | 15 | November 18, 2020 06:09 |
[snappyHexMesh] multiple regions | Tobi | OpenFOAM Meshing & Mesh Conversion | 56 | March 29, 2020 04:53 |
[CAD formats] Clean / Repair STL file with multiple regions on command line | matthiasd | OpenFOAM Meshing & Mesh Conversion | 6 | May 24, 2016 06:51 |
[snappyHexMesh] Using snappyHexMesh for multiple enclosed regions | richard_vega | OpenFOAM Meshing & Mesh Conversion | 0 | November 13, 2014 14:28 |
OpenFOAM static build on Cray XT5 | asaijo | OpenFOAM Installation | 9 | April 6, 2011 12:21 |