|
[Sponsors] |
[Other] Creating mesh from equation of surface |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
July 22, 2019, 23:44 |
Creating mesh from equation of surface
|
#1 |
New Member
Join Date: Jul 2019
Posts: 2
Rep Power: 0 |
Hi all,
I'm attempting to run a simulation with OpenFoam for a geometry bounded by a surface (with equation z=1+k1*tan(k2)*y*cos(z)) and the xy plane with constraints on x, y. I've spent hours looking for a solution, and the only way forward I've been able to find is to write my own Python code to discretize the entire volume, which would be time consuming to say the least. Does anyone have any suggestions? Cheers. |
|
August 7, 2019, 06:04 |
|
#2 |
Senior Member
Carlo_P
Join Date: May 2019
Location: Italy
Posts: 176
Rep Power: 7 |
Hey Finn,
I think taht you can try with BlockMesh. You have to write down the equation and then you will have the mesh. Otherwise, why don't try to design the geoemtry in a CAD file, maybe also in Salome, where you can put your Python file? Cheers, Carlo |
|
August 15, 2019, 13:16 |
|
#3 |
New Member
Join Date: Jul 2019
Posts: 2
Rep Power: 0 |
Thanks Carlo, I ended up getting it working with blockMesh by using two blocks and defining their edges with splines.
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Gmsh] Error : Self intersecting surface mesh, computing intersections & Error : Impossible | velan | OpenFOAM Meshing & Mesh Conversion | 3 | October 22, 2015 11:05 |
[snappyHexMesh] snappyHexMesh & Mesh around a missile | sasanghomi | OpenFOAM Meshing & Mesh Conversion | 2 | October 15, 2014 19:54 |
Moving mesh | Niklas Wikstrom (Wikstrom) | OpenFOAM Running, Solving & CFD | 122 | June 15, 2014 06:20 |
Cluster ID's not contiguous in compute-nodes domain. ??? | Shogan | FLUENT | 1 | May 28, 2014 15:03 |
[ICEM] Generating Mesh for STL Car in Windtunnel Simulation | tommymoose | ANSYS Meshing & Geometry | 48 | April 15, 2013 04:24 |