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

ridiculous results with phaseScalarTransport in interFoam

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 11, 2022, 03:08
Default ridiculous results with phaseScalarTransport in interFoam
  #1
New Member
 
Thomas Shi
Join Date: Jan 2018
Posts: 20
Rep Power: 8
ThomasLong is on a distinguished road
Hi Foamers,
I am really struggling with simulating the contaminant transport in water by using the new function object phaseScalarTransport in interFoam. I have read some threads on this topic in the forum and been trying to modifiy the controlDict in my own case, but the results are quite ridiculous, which is incomprehensible for me.
Here is my codes of phaseScalarTransport function and the results of the simulation in 5s :
Code:
  scalarTransport
  {
    type            phaseScalarTransport;
    libs            ("libsolverFunctionObjects.so");
    enabled         true;
    writeControl    writeTime;
    writeInterval   1;
    rho             rho;
    phase           alpha.water;
    field           s.water;
    diffusion       viscosity;
    alphal          1;
    alphat          1;
    nut             nut;
    resetOnStartUp  no;
   }
Attached Images
File Type: jpeg 1.jpeg (33.7 KB, 39 views)
ThomasLong is offline   Reply With Quote

Old   October 12, 2022, 02:31
Default
  #2
New Member
 
Thomas Shi
Join Date: Jan 2018
Posts: 20
Rep Power: 8
ThomasLong is on a distinguished road
Anyone ? Please give me some suggestions.
ThomasLong is offline   Reply With Quote

Old   October 12, 2022, 05:32
Default
  #3
Senior Member
 
Tom Fahner
Join Date: Mar 2009
Location: Breda, Netherlands
Posts: 646
Rep Power: 32
tomf will become famous soon enoughtomf will become famous soon enough
Send a message via MSN to tomf Send a message via Skype™ to tomf
Hi Thomas,

My first guess would be about the discretisation scheme you use for the convection of the scalar. You will need some stabilization on that term typically. It looks like you now have too little of that and then you can get unbounded results.

Cheers,
Tom
tomf is offline   Reply With Quote

Old   October 13, 2022, 03:22
Default
  #4
New Member
 
Thomas Shi
Join Date: Jan 2018
Posts: 20
Rep Power: 8
ThomasLong is on a distinguished road
Thank you very much for your reply! I will have a try.
ThomasLong is offline   Reply With Quote

Old   January 8, 2023, 07:49
Default
  #5
New Member
 
Dylan James
Join Date: Dec 2020
Posts: 7
Rep Power: 5
dylan_OF is on a distinguished road
Quote:
Originally Posted by ThomasLong View Post
Thank you very much for your reply! I will have a try.
Hi Thomas,

I have the same problem at present. Have you solved your problem?
Could you please share your experience?

Thanks in advance!
dylan_OF is offline   Reply With Quote

Old   January 10, 2023, 09:31
Default
  #6
New Member
 
Dylan James
Join Date: Dec 2020
Posts: 7
Rep Power: 5
dylan_OF is on a distinguished road
Quote:
Originally Posted by dylan_OF View Post
Hi Thomas,

I have the same problem at present. Have you solved your problem?
Could you please share your experience?

Thanks in advance!
I have solved the problem.
The fvOptions should be removed from system/controlDict--functions--sTransport.
dylan_OF is offline   Reply With Quote

Reply

Tags
interfoam, scalar transport

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
interFoam - different results compared to others in a micro T-junction Mary_F OpenFOAM Running, Solving & CFD 1 July 28, 2023 15:13
interFoam - Not getting better performance on parallel run ctvanrees OpenFOAM Running, Solving & CFD 16 August 31, 2021 08:30
Rising Bubble Test Case Using interFoam: Unrealistic Results?! farazarbabi OpenFOAM Running, Solving & CFD 21 May 7, 2021 08:45
Problem: Very long "write" time (~2h-3h) for results and transient results Shawn_A CFX 16 April 12, 2016 20:49
Microchannel flow interfoam. (results far away from theoritical answers) Saideep OpenFOAM Running, Solving & CFD 1 June 24, 2015 12:09


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