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

interFoam - validation for bubble/droplet flows in microfluidics

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

Like Tree27Likes

Reply
 
LinkBack Thread Tools Display Modes
Old   September 3, 2018, 12:07
Default
  #41
New Member
 
Guang
Join Date: Feb 2015
Location: Stuttgart, Germany
Posts: 15
Rep Power: 5
stardust111 is on a distinguished road
Quote:
Originally Posted by dzordz View Post
I had the same issue with this compilation. For some reason linking in Make/options file to this twoPhaseMixtureThermo folder fails. What solved my problem (probably not smoothest solution) is adding an additional line in options -I/.....path to twoPhaseMixtureThermo folder.... \


Hope it helps.
Hi dzord,
thank you very much for your reply. I tried this too, this can pass the compilation procedure. But then there will be another error when using the new kva_compressibleInterFoam.

keyword water is undefined in dictionary "/home/xxxx/constant/thermophysicalProperties"

Since I used a variable surface tension of water, in the thermophysicalProperties it writes:

phases (water air);
pMin 10000;
sigma
{
type liquidProperties;
phase water;
}


but when I used the standard compressibleInterFoam solver, that error didn't occur. Did you meet this too?
stardust111 is offline   Reply With Quote

Old   September 4, 2018, 00:53
Default
  #42
New Member
 
Join Date: May 2016
Posts: 26
Rep Power: 4
dzordz is on a distinguished road
Hi!
I had not tried this with temperature dependent surface tension via liquid properties, but I had the same problem. The thing is the code has implemented a density weighing and requires the density input for both phases rho1_ and rho2_ in thermophysicalProperties. For example add:

water
{
transportModel Newtonian;
rho [1 -3 0 0 0 0 0] 1000;
}
air
{
transportModel Newtonian;
rho [1 -3 0 0 0 0 0] 1;
}


The issue for me was, that I have highly compressible air phase which density varies throughout my domain. So I turned the weighing off and it principle should work normally. So maybe add a dummy input in there
Cheers.
dzordz is offline   Reply With Quote

Old   September 4, 2018, 04:15
Default
  #43
New Member
 
Guang
Join Date: Feb 2015
Location: Stuttgart, Germany
Posts: 15
Rep Power: 5
stardust111 is on a distinguished road
Quote:
Originally Posted by dzordz View Post
Hi!
I had not tried this with temperature dependent surface tension via liquid properties, but I had the same problem. The thing is the code has implemented a density weighing and requires the density input for both phases rho1_ and rho2_ in thermophysicalProperties. For example add:

water
{
transportModel Newtonian;
rho [1 -3 0 0 0 0 0] 1000;
}
air
{
transportModel Newtonian;
rho [1 -3 0 0 0 0 0] 1;
}


The issue for me was, that I have highly compressible air phase which density varies throughout my domain. So I turned the weighing off and it principle should work normally. So maybe add a dummy input in there
Cheers.
Thanks again. I added the densities, but then got some other errors .
I think I should also turn off the DensidyWeighting, as the density is also not constant in my case. Could you please give me a clue about how to turn it off?

BEST


Create time

Create mesh for time = 0


PIMPLE: Operating solver in PISO mode

Reading field p_rgh

Reading field U

Reading/calculating face flux field phi

Constructing twoPhaseMixtureThermo

Selecting surfaceTensionModel liquidProperties
Selecting curvatureModel vofsmooth
Selecting surfaceTensionModel CSF(densityWeighted=0)
Selecting thermodynamics package
{
type heRhoThermo;
mixture pureMixture;
properties liquid;
energy sensibleInternalEnergy;
}

Selecting thermodynamics package
{
specie specie;
type heRhoThermo;
mixture pureMixture;
transport const;
thermo hConst;
energy sensibleInternalEnergy;
equationOfState perfectGas;
}

Reading thermophysical properties

#0 Foam::error:rintStack(Foam::Ostream&) at ??:?
#1 Foam::sigSegv::sigHandler(int) at ??:?
#2 ? in "/lib64/libc.so.6"
#3 ? at ??:?
#4 __libc_start_main in "/lib64/libc.so.6"
#5 ? at /home/abuild/rpmbuild/BUILD/glibc-2.22/csu/../sysdeps/x86_64/start.S:121
Segmentation fault (core dumped)
stardust111 is offline   Reply With Quote

Old   September 4, 2018, 04:21
Default
  #44
New Member
 
Join Date: May 2016
Posts: 26
Rep Power: 4
dzordz is on a distinguished road
I suggest that to see how it is done you look at the transportProperties that are included in the library compilation file you downloaded.

Nevertheless if there is no densityWeighted entry, the default is set to no, so you should be working with it turned off. Now I do not know why this error occurs for you. Maybe try compiling it yourself.
dzordz is offline   Reply With Quote

Old   September 4, 2018, 04:24
Default
  #45
New Member
 
Guang
Join Date: Feb 2015
Location: Stuttgart, Germany
Posts: 15
Rep Power: 5
stardust111 is on a distinguished road
Quote:
Originally Posted by dzordz View Post
I suggest that to see how it is done you look at the transportProperties that are included in the library compilation file you downloaded.

Nevertheless if there is no densityWeighted entry, the default is set to no, so you should be working with it turned off. Now I do not know why this error occurs for you.
Thanks. I will try to find it out.
stardust111 is offline   Reply With Quote

Reply

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
Setting BCs for Riverine Flows using Interfoam kflora OpenFOAM Running, Solving & CFD 35 September 20, 2018 11:35
CFX problem in ubuntu (linux) Vigneshramaero CFX 0 July 13, 2012 10:22
CFX-Pre problem, pls help!!! cth_yao CFX 0 February 17, 2012 00:52
validation for densely packed channel flows shefali Main CFD Forum 1 February 8, 2011 03:35
Validation tests for 3-D flows Alexey Main CFD Forum 1 January 5, 2000 23:48


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