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

multiphase explicitsolve function in interFoam

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 4, 2016, 06:45
Default multiphase explicitsolve function in interFoam
  #1
New Member
 
Abdallah Salem
Join Date: Sep 2016
Posts: 3
Rep Power: 10
abdo1984 is on a distinguished road
hello all
I am trying to couple volume of fluid with level set in interFoam (2.3.0). For this purpose, I have to solve this PDE for artificial time not phyiscal time.

ddt(psi) + div.(psi *(1 - psi ) n) = div.(epsilon * (grad(psi) * n) n)

where psi : is level set
n : is the normal to the interface and is already calculated by interFoam
epsilon : is a parameter related to the mesh size (dx/2 )
I thought of using subcycle used in interFoam.
the second term in the left hand side can be hendled by
fvc::flux
(
-fvc::flux(-phisf, scalar(1.0) - psi ,psiScheme) ,
psi ,
psiScheme
)
where phisf is the normal flux which is the same as interface.nHatf()

now I have a problem with handling with the right hand side because of grad term. So could you guys please gives me hand to handle such a term as flux in order to use it in explicitSolve function. Thanks alot .
abdo1984 is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
whats the cause of error? immortality OpenFOAM Running, Solving & CFD 13 March 24, 2021 08:15
[snappyHexMesh] Problem with parallel run of snappyHexMesh Lorenzo92 OpenFOAM Meshing & Mesh Conversion 5 April 15, 2016 05:12
ParaView for OF-1.6-ext Chrisi1984 OpenFOAM Installation 0 December 31, 2010 07:42
Version 15 on Mac OS X gschaider OpenFOAM Installation 113 December 2, 2009 11:23
Problem with compile the setParabolicInlet ivanyao OpenFOAM Running, Solving & CFD 6 September 5, 2008 21:50


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