|
[Sponsors] |
January 28, 2011, 15:51 |
interFoam inviscid and rotational
|
#1 |
Senior Member
Pablo
Join Date: Mar 2009
Posts: 102
Rep Power: 17 |
Hello,
Is it possible run interFoam inviscid but rotational (euler equations)? Thanks |
|
January 28, 2011, 16:15 |
|
#2 |
Senior Member
Dave
Join Date: Jul 2010
Posts: 100
Rep Power: 16 |
Consider using "twoPhaseEulerFoam". I have never used it myself other than running the tutorials for it, but it might be what you are looking for. I am interested in the use of it, but I need a dynamic mesh version of it for it to be useful for my purposes. There are a couple of tutorials that use it so you can probably look at the files for those to figure out the setup.
|
|
January 28, 2011, 16:48 |
|
#3 |
Senior Member
Pablo
Join Date: Mar 2009
Posts: 102
Rep Power: 17 |
and what about to delete from interFoam scheme turbulence/viscous effects?. It is nonsense or i can try this weekend?
|
|
January 28, 2011, 19:56 |
|
#4 |
Senior Member
Dave
Join Date: Jul 2010
Posts: 100
Rep Power: 16 |
I suspect that it isn't as straight forward as setting the viscosity to zero since you have to contend with the effective viscosity of the turbulence model. I don't believe interFoam runs without the ras settings used. I don't believe it will cut your computation times down unless you can remove the turbulence parts of interFoam which would require altering the interFoam solver itself to eliminate the Reynolds stress term and if you are doing that you might as well remove the viscosity term too. You might be able to get it to run using the dummy turbulence model "laminar", but I think it would be easier to try the twoPhaseEulerFoam since it is a volume of fraction solver like interfoam, but it is solving the Euler equations instead of the full RANS. It comes in the standard 1.7.1 version and setting up the run should be straight forward.
|
|
January 29, 2011, 06:11 |
|
#5 |
Senior Member
Pablo
Join Date: Mar 2009
Posts: 102
Rep Power: 17 |
My idea is build a new solver based in interFoam, so it is delete diffusive terms from UEqn.h and turbulence->correct(); from interFoam.
UEqn will be like; fvVectorMatrix UEqn ( fvm::ddt(rho, U) + fvm::div(rhoPhi, U) ); |
|
January 31, 2011, 08:54 |
|
#6 |
Senior Member
Pablo
Join Date: Mar 2009
Posts: 102
Rep Power: 17 |
Hi Dave,
Now i have the inviscid working in multiphase, so it is more easy to see the influence of compression interface, momentumPredictor, corrections etc.... in the accurate and speed results. I want to implement trim&sink function, do you known if shipFoam is based in move the whole domain or mesh deformation? |
|
June 15, 2012, 19:42 |
|
#7 |
New Member
Betsy Seiffert
Join Date: Feb 2011
Location: Honolulu, HI
Posts: 11
Rep Power: 15 |
HI Pablo - Have you had success with your new inviscid solver? I am thinking of doing the same thing so I can solver two-phase Euler eqns.
Betsy |
|
June 16, 2012, 09:15 |
|
#8 |
Senior Member
Pablo
Join Date: Mar 2009
Posts: 102
Rep Power: 17 |
Yes, inviscid euler is pretty easy to implement, just remove the viscous terms from equations and turbulence.
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
rotational and inviscid | Mike | Main CFD Forum | 40 | November 9, 2023 07:03 |