Generating a boundary in GMSH using a function.


135
views
0
4 months ago by
Nima  
Hi,
I have a function like:

  $r\left(\theta\right)=1+cos\left(\theta\right)+sin\left(\theta\right),$r(θ)=1+cos(θ)+sin(θ),

for \theta in [0,2Pi].
How can I use GMSH to create a closed 2-D boundary using this function?

Thanks
Community: FEniCS Project
Could you use a spline to approximate that? Maybe this will help.
written 4 months ago by Dan Sweeney  

1 Answer


2
4 months ago by
Hi Nima,

Check this link
https://openfoamwiki.net/index.php/2D_Mesh_Tutorial_using_GMSH

In the section "3.1 2D axisymmetric stenosis" may give ideas about how to solve your problem
Please login to add an answer/comment or follow this question.

Similar posts:
Search »