CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > OpenFOAM

Setting Mass source in interFoam

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

LinkBack Thread Tools Display Modes
Old   June 11, 2018, 23:01
Default Setting Mass source in interFoam
New Member
Join Date: Jun 2016
Posts: 4
Rep Power: 5
AhmadZ is on a distinguished road
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::fvption::checkApplied() const
in file cfdTools/general/fvOptions/fvOption.C at line 125
Source scalarSource defined for field alpha1 but never used

Any hint is highly appreciated.
Attached Files
File Type: gz fvOptions.gz (537 Bytes, 4 views)
AhmadZ is offline   Reply With Quote

Old   October 24, 2018, 10:14
Ashish Vinayak
Join Date: Mar 2015
Posts: 34
Rep Power: 5
ashish.vinayak is on a distinguished road
fvOptions if not defined in the alpha equation. Hence you are unable to use it.
ashish.vinayak is offline   Reply With Quote


fvoptions, injection, interfoam, mass source

Thread Tools
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 On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
[swak4Foam] funkyDoCalc with OF2.3 massflow NiFl OpenFOAM Community Contributions 11 November 1, 2016 07:43
Trouble compiling utilities using source-built OpenFOAM Artur OpenFOAM Programming & Development 14 October 29, 2013 11:59
mixerVesselAMI2D's mass is not balancing sharonyue OpenFOAM Running, Solving & CFD 6 June 10, 2013 10:34
Mass source, Momentum source theory. diffo FLUENT 4 August 21, 2009 11:26
Problem with Mass source, Momentum source theory diffo Fluent UDF and Scheme Programming 0 August 20, 2009 07:10

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