CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums

Search Results

Register Blogs Community New Posts Updated Threads Search

Showing results 1 to 4 of 4
Search took 0.00 seconds.
Search: Posts Made By: gregor
Forum: OpenFOAM Running, Solving & CFD January 17, 2013, 07:11
Replies: 218
LES
Views: 58,746
Posted By gregor
Hi Lohrasbi, for the E-K in space you can...

Hi Lohrasbi,

for the E-K in space you can have a look at how it is done in the dnsFoam solver. In principle you could use:


#include "Kmesh.H"
#include "calcEk.H"

Kmesh K(mesh);
calcEk(U,...
Forum: OpenFOAM Running, Solving & CFD July 6, 2011, 03:55
Replies: 218
LES
Views: 58,746
Posted By gregor
well thats not trivial since calcEk(U, K) does a...

well thats not trivial since calcEk(U, K) does a fft in space but you would need to do a fft in time. I am not sure how to easily adapt that. Therefor i would use matlab or numpy.

EDIT:

The...
Forum: OpenFOAM Running, Solving & CFD July 5, 2011, 05:28
Replies: 218
LES
Views: 58,746
Posted By gregor
Correct. You can use probes to sample the...

Correct. You can use probes to sample the velocity and then post process your data using matlab or python.



that won't work since E(k) is not a field. It is a scalar representing the energy...
Forum: OpenFOAM Running, Solving & CFD July 5, 2011, 03:32
Replies: 218
LES
Views: 58,746
Posted By gregor
Hi, depends how you want to evaluate the...

Hi,
depends how you want to evaluate the energy spectrum (at a specific point, or over the whole domain).

In the dnsFoam the energy spectrum is calculated, so you can simply code your own post...
Showing results 1 to 4 of 4

 
Forum Jump

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