CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

interFoam inviscid and rotational

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 28, 2011, 15:51
Default interFoam inviscid and rotational
  #1
Senior Member
 
Pablo
Join Date: Mar 2009
Posts: 102
Rep Power: 17
pablodecastillo is on a distinguished road
Hello,

Is it possible run interFoam inviscid but rotational (euler equations)?

Thanks
pablodecastillo is offline   Reply With Quote

Old   January 28, 2011, 16:15
Default
  #2
Senior Member
 
Dave
Join Date: Jul 2010
Posts: 100
Rep Power: 16
daveatstyacht is on a distinguished road
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.
daveatstyacht is offline   Reply With Quote

Old   January 28, 2011, 16:48
Default
  #3
Senior Member
 
Pablo
Join Date: Mar 2009
Posts: 102
Rep Power: 17
pablodecastillo is on a distinguished road
and what about to delete from interFoam scheme turbulence/viscous effects?. It is nonsense or i can try this weekend?
pablodecastillo is offline   Reply With Quote

Old   January 28, 2011, 19:56
Default
  #4
Senior Member
 
Dave
Join Date: Jul 2010
Posts: 100
Rep Power: 16
daveatstyacht is on a distinguished road
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.
daveatstyacht is offline   Reply With Quote

Old   January 29, 2011, 06:11
Default
  #5
Senior Member
 
Pablo
Join Date: Mar 2009
Posts: 102
Rep Power: 17
pablodecastillo is on a distinguished road
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)
);
pablodecastillo is offline   Reply With Quote

Old   January 31, 2011, 08:54
Default
  #6
Senior Member
 
Pablo
Join Date: Mar 2009
Posts: 102
Rep Power: 17
pablodecastillo is on a distinguished road
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?
pablodecastillo is offline   Reply With Quote

Old   June 15, 2012, 19:42
Default
  #7
New Member
 
Betsy Seiffert
Join Date: Feb 2011
Location: Honolulu, HI
Posts: 11
Rep Power: 15
Betsy is on a distinguished road
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
Betsy is offline   Reply With Quote

Old   June 16, 2012, 09:15
Default
  #8
Senior Member
 
Pablo
Join Date: Mar 2009
Posts: 102
Rep Power: 17
pablodecastillo is on a distinguished road
Yes, inviscid euler is pretty easy to implement, just remove the viscous terms from equations and turbulence.
pablodecastillo is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
rotational and inviscid Mike Main CFD Forum 40 November 9, 2023 07:03


All times are GMT -4. The time now is 17:38.