|
[Sponsors] |
![]() |
![]() |
#1 |
New Member
Join Date: Aug 2021
Location: France
Posts: 7
Rep Power: 4 ![]() |
Hello everyone,
I would like to use a torus region with topoSet but I don't know how to do it. I already used cylinderToCell, cylinderAnnulusToCell in topoSetDict to post-process some regions but I don't find a way to create a torus region or a volume of revolution around an axis. Can anyone help me Thanks in advance |
|
![]() |
![]() |
![]() |
![]() |
#2 |
New Member
Wesley Alexander
Join Date: Mar 2024
Posts: 1
Rep Power: 0 ![]() |
Using the surfaceToCell source, you may use OpenFOAM depending on your version to choose cells inside a surface geography. You ought to be able to obtain what you want if you specify your shape as an STL file.
Last edited by liftsolemn; April 1, 2024 at 22:04. |
|
![]() |
![]() |
![]() |
![]() |
#3 | |||
New Member
Join Date: Aug 2021
Location: France
Posts: 7
Rep Power: 4 ![]() |
Hello liftsolemn,
Thanks for your answer! I try to do what you explain (the surface specified with the STL file is not torus, it is a cylinder): Quote:
Quote:
Quote:
|
||||
![]() |
![]() |
![]() |
![]() |
#4 | |
New Member
Olivia Finney
Join Date: Jan 2024
Posts: 2
Rep Power: 0 ![]() |
Quote:
yaml Copy - name: torus type: cellToCell action: new source: type: torus point1: [x1, y1, z1] point2: [x2, y2, z2] majorRadius: R1 minorRadius: R2 Replace the following values: [x1, y1, z1]: Coordinates of the center of the torus [x2, y2, z2]: Coordinates of a point on the torus axis R1: Major radius of the torus R2: Minor radius of the torus Run the topoSet command to create the torus region: python Copy topoSet -dict topoSetDict -name torus This will create a new cell set named "torus" that contains all the cells within the specified torus region. You can then use this cell set for further post-processing or visualization in OpenFOAM. |
||
![]() |
![]() |
![]() |
Tags |
mesh, openfoam, toposetdict |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Other] splitMeshRegions does not create interface patch between regions | fsan | OpenFOAM Meshing & Mesh Conversion | 10 | June 6, 2022 05:56 |
[mesh manipulation] Importing Multiple Meshes | thomasnwalshiii | OpenFOAM Meshing & Mesh Conversion | 18 | December 19, 2015 18:57 |
[blockMesh] Include list of points | Hikachu | OpenFOAM Meshing & Mesh Conversion | 0 | June 20, 2011 09:03 |
Actuator disk model | audrich | FLUENT | 0 | September 21, 2009 07:06 |
Where's the singularity/mesh flaw? | audrich | FLUENT | 3 | August 4, 2009 01:07 |