Questions tagged [opencascade]
The opencascade tag has no usage guidance.
13
questions
2
votes
1answer
81 views
Is there a way to SurfaceArea of each face of 3D shape separately?
Consider the following 3D shape as an example:
ClearAll[cylinder];
cylinder[r_,z_]:=Cylinder[{{r,r,0},{r,r,z}},r];
It is a cylinder whose entire ...
4
votes
3answers
273 views
How to make a high resolution mesh from RegionIntersection in 3D
I want to make a high-resolution 3d model of the Reuleaux tetrahedron by using Mathematica
The Reuleaux tetrahedron is the intersection of four balls of radius s centered at the vertices of a ...
5
votes
3answers
135 views
How to convert cuboid to mesh efficiently
cuboids =
Table[Cuboid @@ (pts = RandomReal[100, {2, 3}]), {i, 10000}];
Method1:
...
3
votes
1answer
68 views
Export Discretized ImplicitRegion as step using OpenCascade
Following the reply by @user21 to this post on exporting a region to a step file, I tried to do the same for a Discretized ImplicitRegion, but OpenCascadeShape didn't appear to work. Is there a switch ...
12
votes
4answers
632 views
3D FEM Vector Potential
I am trying to reproduce an FEM result in a paper. Due to possible copyright I cannot show the result directly but fortunately there is a free link
An Incomplete Gauge for 3D Nodal Finite Element ...
2
votes
2answers
83 views
How to discretize the boundary of two regions?
Problem
How to discretize a surface constructed with multiple components?
Unsuccessful attempts include combining the objects top and ...
2
votes
1answer
105 views
Why FEM not giving output at the boundary
I am trying to solve simple 3D Poisson's equation of thermal conduction due to heat generation (q) in a spherical composite, where from 0 to a (inner radius) conductivity is k1 and from a to b (outer ...
6
votes
3answers
239 views
Balanced flux in FEA using NeumanValue
I'm using NeumannValue boundary conditions for a 3d FEA using NDSolveValue. In one area I have positive flux and in another area i have negative flux. In theory these should balance out (I set the ...
7
votes
2answers
439 views
Cylindrical coordinates in FEM
I am trying to solve the Stokes equation for fluid flow in a 3d cylinder. All boundaries are no-slip, apart from the top boundary, which enforces flow in the x-direction.
My problem is that I can't ...
1
vote
1answer
92 views
why on some MaxCellMeasure values, FEM gives internal 1/0 error?
V 12.1 on windows 10
When I was answering NDSolveValue taking too long I noticed the following
When I use some value for MaxCellMeasure, then FEM gives 1/0.
Why ...
6
votes
1answer
126 views
Define a region of revolution
My goal is to use "RegionCentroid" on a solid of revolution.
This works great for 2d regions:
...
15
votes
4answers
281 views
how to make the surface of a 3D region smooth
I want to draw this region,but the surface is rough.I tried to find options to improve the surface but failed.
...
79
votes
15answers
3k views
Future enhancements for the finite element method
How should the finite element method (FEM) framework in the language be extended to be more useful?
With the release of version 12.0 all fundamental FEM solvers (linear, nonlinear, stationary, ...