|
[Sponsors] |
multiphase explicitsolve function in interFoam |
![]() |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
![]() |
![]() |
#1 |
New Member
Abdallah Salem
Join Date: Sep 2016
Posts: 3
Rep Power: 10 ![]() |
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 . |
|
![]() |
![]() |
![]() |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
whats the cause of error? | immortality | OpenFOAM Running, Solving & CFD | 13 | March 24, 2021 07:15 |
[snappyHexMesh] Problem with parallel run of snappyHexMesh | Lorenzo92 | OpenFOAM Meshing & Mesh Conversion | 5 | April 15, 2016 04:12 |
ParaView for OF-1.6-ext | Chrisi1984 | OpenFOAM Installation | 0 | December 31, 2010 06:42 |
Version 15 on Mac OS X | gschaider | OpenFOAM Installation | 113 | December 2, 2009 10:23 |
Problem with compile the setParabolicInlet | ivanyao | OpenFOAM Running, Solving & CFD | 6 | September 5, 2008 20:50 |