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

Passive Scalar OpenFoam (turbulent, steady state velocity field)

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 17, 2020, 08:08
Default Passive Scalar OpenFoam (turbulent, steady state velocity field)
  #1
New Member
 
F. Funk
Join Date: Feb 2020
Posts: 2
Rep Power: 0
f.funk is on a distinguished road
Hello, everybody

I want to do a transient scalar Simulation on the basis of a steady state velocity field of T-Pipe. Since there is no scalarTransportFoam for turbulence i changed the the solver and added to the Diffusity DT the turbulent Diffusity.

In C File:



And in the createFields.H:



When i try to run it OpenFoam there is an error which says that it need the laplacian scheme for DT. But since i am not solving laplacian DT in the general equation (C. file) only the DTt (=nut/Sct + DT) i am wondering why ? Does someone knows about it and could help me ?

Thanks in regards
Attached Images
File Type: png 1.PNG (27.8 KB, 83 views)
File Type: png 2.PNG (19.7 KB, 83 views)
File Type: png 3.PNG (5.5 KB, 10 views)
f.funk is offline   Reply With Quote

Old   February 17, 2020, 12:08
Default
  #2
Senior Member
 
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,761
Rep Power: 66
LuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura about
It looks like you have specified the scheme for DT regardless, so why are you getting the error? It doesn't make sense. Maybe post your error.
LuckyTran is offline   Reply With Quote

Old   February 18, 2020, 09:03
Default
  #3
New Member
 
F. Funk
Join Date: Feb 2020
Posts: 2
Rep Power: 0
f.funk is on a distinguished road
Thanks LuckyTran for the quick reply. I found the mistake: every time you change the solver you have to implement it again with (wclean, wmake ...). If you dont do that OpenFoam will use the last Scripts. In my case where DT was still in the general equation.
f.funk is offline   Reply With Quote

Reply

Tags
openfoam, passive scalar, turbulence


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
Steady Advection-diffusion equation, with scalar velocity field, openfoam andrea5 OpenFOAM Programming & Development 0 September 17, 2019 05:10
OpenFOAM v3.0+ ?? SBusch OpenFOAM 22 December 26, 2016 15:24
Can not achieve statistically steady flow in Openfoam jiaodanuma OpenFOAM 0 August 16, 2016 07:49
''unknown radialModelType type Gidaspow'' PROBLEM WITH THE BED TUTORIAL AndoniBM OpenFOAM Running, Solving & CFD 2 March 25, 2015 19:44
Solving passive scalar in a Multiphase field zcjwyl OpenFOAM Running, Solving & CFD 0 April 30, 2012 11:59


All times are GMT -4. The time now is 16:00.