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

ScalarTransportFoam and turbulent diffusion coefficient

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 30, 2006, 11:56
Default I try to modify the scalarTran
  #1
New Member
 
Andriy Rybakov
Join Date: Mar 2009
Posts: 2
Rep Power: 0
rybakov2 is on a distinguished road
I try to modify the scalarTransportFoam for k-epsilon model and want to change diffusion coefficient to D=C_mu*k*k/epsilon.
I write a new solver with strings

solve
(
fvm::ddt(T)
+ fvm::div(phi, T)
- fvm::laplacian(DT+0.09*k*k/eipsilon, T)
);
and adds in the creatsField.H the scalar variable k and epsilon from simpleFoam calculation. It is compiled, but during execute I recieve the message:
fileName::stripInvalid() called for string
What I must do to solve this problem?
rybakov2 is offline   Reply With Quote

Old   December 1, 2006, 07:57
Default I am sorry. I have found the p
  #2
New Member
 
Andriy Rybakov
Join Date: Mar 2009
Posts: 2
Rep Power: 0
rybakov2 is on a distinguished road
I am sorry. I have found the problem. It was data file, not the code. It works good now.
rybakov2 is offline   Reply With Quote

Old   June 24, 2014, 14:21
Default
  #3
New Member
 
jeicek
Join Date: Nov 2013
Location: Germany
Posts: 18
Rep Power: 12
jeicek is on a distinguished road
Quote:
Originally Posted by rybakov2 View Post
I try to modify the scalarTransportFoam for k-epsilon model and want to change diffusion coefficient to D=C_mu*k*k/epsilon.
I write a new solver with strings

solve
(
fvm::ddt(T)
+ fvm::div(phi, T)
- fvm::laplacian(DT+0.09*k*k/eipsilon, T)
);
and adds in the creatsField.H the scalar variable k and epsilon from simpleFoam calculation. It is compiled, but during execute I recieve the message:
fileName::stripInvalid() called for string
What I must do to solve this problem?
Hi,

I need also modify scalartransportFoam to incorporate the turbulence but after modification the new solver works very heavy and it takes lot of time do you know what could be the reason?,
2. I can not use modified scalartransport for k-omega turbulence model???,, in other words it is independent of turbulence mocel or?
jeicek is offline   Reply With Quote

Reply


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
Diffusion coefficient. Confused. Main CFD Forum 2 December 10, 2005 08:16
diffusion coefficient Chico Mbanu FLUENT 0 July 20, 2004 13:45
diffusion coefficient Nathalie FLUENT 1 July 20, 2004 11:00
diffusion coefficient topchik alon FLUENT 0 May 28, 2003 05:35
binary diffusion coefficient kevin-change FLUENT 2 October 1, 2002 06:02


All times are GMT -4. The time now is 02:31.