CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   CFX (http://www.cfd-online.com/Forums/cfx/)
-   -   CFX Pre/Double Precision (http://www.cfd-online.com/Forums/cfx/66677-cfx-pre-double-precision.html)

Scott Nordsen July 21, 2009 14:31

CFX Pre/Double Precision
 
I am working on a case with small finite volumes (~1e-18 m^3).

To run in fluent I used double precision solver since single precision had issues with the mesh.

Now, I am trying to run the same case in CFX.

I see how to run a double precision simulation with cfx5solve.

Question is how do I setup the case using cfx5pre?
-double is not an option.
When I read msh file into cfx5pre I get mesh errors as I did with fluent single precision.

The only difference is fluent is one tool (pre/solve/post) that I can start as dp from the start.

Thanks

Scott

ghorrocks July 21, 2009 18:57

Hi,

The fact that you have small finite volumes should not cause grief (my control volumes in my current work are 1e-20 m^3!), providing all the control volumes are a similar order of magnitude in size. There is no loss in precision of 1e-18 versus 1e0 as the significand has the same number of bits representing its size.

The problem is when you have a large range in sizes. What is the largest and smallest finite volume in your model?

Glenn Horrocks

Scott Nordsen July 22, 2009 09:02

Have a geom with a far field ~20D away down to the geometry that has edges ~0.1".
D~10 ft

So my cells range from 10m^3 to 1e-18 m^3. So as you would say I have a problem.

ckleanth July 22, 2009 11:12

an easy way of refining could be to run it first steady state with a coarse mesh and use a few adaptive mesh steps but I'm not sure how you will manage to get low volume aspect ratio.. I suppose your best bet is if you can create a nice hexa mesh so it wont distort during mesh adaptation

ghorrocks July 22, 2009 18:45

Hi,

Cell volumes ranging over 19 orders of magnitude is not a good idea. That is what your problem is. If your fine cells really need to be that fine then you are going to have to refine your coarse cells. Yes, that probably means you need a supercomputer but hey, this is CFD and why CFD needs supercomputers.

Glenn Horrocks


All times are GMT -4. The time now is 08:42.