# ScalarTransportFoam and turbulent diffusion coefficient

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

 November 30, 2006, 12:56 I try to modify the scalarTran #1 New Member   Andriy Rybakov Join Date: Mar 2009 Posts: 2 Rep Power: 0 Sponsored Links 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?

 December 1, 2006, 08:57 I am sorry. I have found the p #2 New Member   Andriy Rybakov Join Date: Mar 2009 Posts: 2 Rep Power: 0 I am sorry. I have found the problem. It was data file, not the code. It works good now.

June 24, 2014, 14:21
#3
New Member

jeicek
Join Date: Nov 2013
Location: Germany
Posts: 18
Rep Power: 5
Quote:
 Originally Posted by rybakov2 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?

 Thread Tools Display Modes Linear Mode

 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 OffTrackbacks are On Pingbacks are On Refbacks are On Forum Rules

 Similar Threads Thread Thread Starter Forum Replies Last Post Confused. Main CFD Forum 2 December 10, 2005 09:16 Chico Mbanu FLUENT 0 July 20, 2004 13:45 Nathalie FLUENT 1 July 20, 2004 11:00 topchik alon FLUENT 0 May 28, 2003 05:35 kevin-change FLUENT 2 October 1, 2002 06:02