|
[Sponsors] |
Need help for creating a ellipsoid cavity inside a box |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
October 18, 2022, 16:29 |
Need help for creating a ellipsoid cavity inside a box
|
#1 |
New Member
J Powell
Join Date: Feb 2022
Posts: 12
Rep Power: 4 |
This is for Gmsh
Hello I have a sphere inside a box with a radius equal to 0.05 and make a physical surface ``` SetFactory("OpenCASCADE"); Block(1) = {0, 0, 0, 5, 5, 5}; Sphere(2) = {2.5, 2.5, 2.5, 0.05}; BooleanDifference(3) = { Volume{1}; Delete; }{ Volume{2}; Delete; }; inner() = Surface In BoundingBox{2.449,2.449,2.449, 2.551, 2.551, 2.551}; Physical Volume("my volume") = {3}; Physical Surface("my inner surface") = inner(); Mesh.MeshSizeFromCurvature = 30; Mesh.MeshSizeMax = 0.2; ``` Now I want to keep the same box, and the same center(2.5), but make this sphere into an ellipsoid, which has a larger c in the picture (looks like a shuttle), values of a, b, and c are in the picture. I also need a physical surface for this ellipsoid. I searched online, but didn't find a good solution, can anyone help me? I prefer using OpenCASCADE, thanks! Last edited by miraboreasu; October 18, 2022 at 18:26. |
|
Tags |
gmsh 4.7.1 |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Dry Wall with Air Cavity | rusthimim | FLUENT | 7 | October 23, 2014 03:40 |
Natural Convection Inside Square Cavity | anupmu | STAR-CCM+ | 1 | May 9, 2013 05:52 |
[GAMBIT] Mesh inside computer box | r.sirait | ANSYS Meshing & Geometry | 4 | June 13, 2012 02:50 |
Radiative heat transfer with natural convection inside a square cavity | msarkar | OpenFOAM | 1 | January 11, 2010 23:21 |
Immersol Simulation of a Heated Box | Dong | Phoenics | 0 | March 2, 2006 22:20 |