CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Pre-Processing

turbulenceFields in controlDict not working (apparently)

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 13, 2018, 17:53
Post turbulenceFields in controlDict not working (apparently)
  #1
New Member
 
Pedro Marreiro
Join Date: Nov 2017
Location: Lisbon
Posts: 8
Rep Power: 8
pmarreiro is on a distinguished road
Hello FOAMers,

I want to extract turbulence quantities using the solver pisoFoam, particularly the turbulence kinetic energy dissipation (epsilon).

To contextualize, i am performing the simulation of a planar jet using the LES model dynamicKEqn from OF5.

By reading the dynamicKEqn.H the epsilon is being returned:
Code:
177 //- Return sub-grid dissipation rate
178 virtual tmp<volScalarField> epsilon() const;
so i added the following function to my controlDict file:
Code:
	
functions
{ 
...
turbulenceFields1
	{
	        type                  turbulenceFields;
		libs                   ("libfieldFunctionObjects.so");
		field                  epsilon;
		writeControl	timeStep;
		writeInterval	1;
	}
}
But no output came. I mean, a file named "turbulenceProperties" is created but without content (literally a 0kb file).

Does anyone have the same problem or know how to solve it? Maybe it is a problem of my OF, i don't know but it is really strange as this quantity should be an easy one to output.

Moreover, i want also to extract the dynamic constants of the model (Ce and Ck) and tried without success...
pmarreiro is offline   Reply With Quote

Old   January 13, 2018, 18:29
Default Update
  #2
New Member
 
Pedro Marreiro
Join Date: Nov 2017
Location: Lisbon
Posts: 8
Rep Power: 8
pmarreiro is on a distinguished road
I ran OF in another machine and the turbulenceFields command worked.

But the question of the Ce and Ck constants still remains!
pmarreiro is offline   Reply With Quote

Old   January 14, 2018, 08:13
Default
  #3
New Member
 
Pedro Marreiro
Join Date: Nov 2017
Location: Lisbon
Posts: 8
Rep Power: 8
pmarreiro is on a distinguished road
I will create a new thread for the dynamic constants of the model.
pmarreiro is offline   Reply With Quote

Reply

Tags
dissipation, dynamic one eddy equation, les, turbulencefields


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
OLAFOAM solver stops working Chubo OpenFOAM Running, Solving & CFD 2 December 6, 2017 03:24
Processor 0 not working vishwesh OpenFOAM Running, Solving & CFD 0 November 17, 2017 04:35
solver is working in windows but not in linux jbseo CFX 0 August 30, 2016 01:20
Changing constants via controlDict not working heksel8i OpenFOAM Running, Solving & CFD 2 August 25, 2016 16:36
Help required on working of Micro-oven aero CFX 4 January 19, 2007 09:21


All times are GMT -4. The time now is 17:15.