|
[Sponsors] |
![]() |
![]() |
#1 |
New Member
Join Date: Jun 2016
Posts: 4
Rep Power: 10 ![]() |
Hello all,
I am using interFoam to simulate falling liquid droplets onto a solid surface. I am wondering if there is a possibility to add a mass source at some times, in the form of injected spherical liquid droplets, with specific diameter and velocity at a specific location. I have tried with the attached fvOptions. It worked for the momentum but not for alpha. I am using of5 and of1712. I got the following warning while running the case From function virtual void Foam::fv ![]() in file cfdTools/general/fvOptions/fvOption.C at line 125 Source scalarSource defined for field alpha1 but never used Any hint is highly appreciated. |
|
![]() |
![]() |
![]() |
![]() |
#2 |
Member
Ashish Vinayak
Join Date: Mar 2015
Location: Wuppertal, Germany
Posts: 50
Rep Power: 10 ![]() |
fvOptions if not defined in the alpha equation. Hence you are unable to use it.
|
|
![]() |
![]() |
![]() |
![]() |
#3 |
New Member
Ludo Masci
Join Date: Oct 2018
Posts: 8
Rep Power: 6 ![]() |
||
![]() |
![]() |
![]() |
![]() |
#4 | |
Member
Ashish Vinayak
Join Date: Mar 2015
Location: Wuppertal, Germany
Posts: 50
Rep Power: 10 ![]() |
Quote:
Well, you can't. fvOptions has not been initialized at all in the alphaEquation. This means that, even if you define a fvOptionsDict for volScalarField alpha, it will not work. You have two options in my opinion (I might be wrong, since my knowledge about this kind of source term is rather limited) - 1. Program a source term into the solver for the alpha equation or 2. Add the source term to the MULES solver. Note: I don't think either of these will be trivial tbh. |
||
![]() |
![]() |
![]() |
![]() |
#5 |
New Member
Ludo Masci
Join Date: Oct 2018
Posts: 8
Rep Power: 6 ![]() |
Thanks for the reply. I am indeed trying to program a source term into the solver. Not an easy task.
|
|
![]() |
![]() |
![]() |
Tags |
fvoptions, injection, interfoam, mass source |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
[swak4Foam] funkyDoCalc with OF2.3 massflow | NiFl | OpenFOAM Community Contributions | 14 | November 25, 2020 03:30 |
Trouble compiling utilities using source-built OpenFOAM | Artur | OpenFOAM Programming & Development | 14 | October 29, 2013 10:59 |
mixerVesselAMI2D's mass is not balancing | sharonyue | OpenFOAM Running, Solving & CFD | 6 | June 10, 2013 09:34 |
Mass source, Momentum source theory. | diffo | FLUENT | 4 | August 21, 2009 10:26 |
Problem with Mass source, Momentum source theory | diffo | Fluent UDF and Scheme Programming | 0 | August 20, 2009 06:10 |