New answers tagged

6 votes
Accepted

Extrude font into a prism: BoundaryDiscretizeGraphics and Line fail to produce a RegionProduct

Replace 1 to 1. Since RegionProduct is already a ...
cvgmt's user avatar
  • 69.1k
2 votes

Failed to retrieve raw data from importing InterpolatingFunction derived from NDSolve

Export/import with ".m" files does not (it seems) preserve packed arrays. But InterpolatingFunction relies (it seems) on some of its data arrays being ...
Goofy's user avatar
  • 2,542
2 votes
Accepted

Failed to retrieve raw data from importing InterpolatingFunction derived from NDSolve

As we know file with extension .m is a plain text file, therefore all data in it are available to use. For example we generate file ...
Alex Trounev's user avatar
  • 43.3k
1 vote
Accepted

Avoiding artificial diffusion and minimize changes to code

To be realistic, we can make boundary conditions as for inviscid flow and save small $\mu =10^{-3}$ to use FEM and NDSolve as it is, we have ...
Alex Trounev's user avatar
  • 43.3k
7 votes
Accepted

Applying Dirichlet and Neumann boundary conditions seem to ignore Neumann boundary conditions

The wrong part of your code is : DirichletCondition[ u[x, y] == Piecewise[{{x, y==-1 || y==1}, {x, x==1 || x==-1}}] ,True] which should be something like : ...
andre314's user avatar
  • 18.2k
3 votes
Accepted

Making geometries with Mathematica for use in Ansys

I am not sure I can follow all of your thinking in your code, but I'll show a version that you can export to STEP. We are going to use the OpenCascadeLink for this. We start by generating a cylinder: <...
user21's user avatar
  • 39.4k
2 votes

Making geometries with Mathematica for use in Ansys

This is perhaps more of an extended comment than an answer. The comments mention both STEP and STL interchange formats. I have for many years used STEP format to transfer lens system geometries to ...
David Keith's user avatar
  • 4,254
2 votes

Navier Stokes example not running

I managed to get hold of the Mathematica support, it seems that there is an issue with regard to Mathematica on the Raspberry Pi, thus I am getting the resulting error. They are currently looking into ...
Mishal's user avatar
  • 39

Top 50 recent answers are included