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

Entries for September 2017

Register Blogs Community New Posts Updated Threads Search

Old

I want to use the 'turbulentIn

Posted September 25, 2017 at 12:47 by kindle

BC need to pay atttention

Quote:
Originally Posted by chris1980 View Post
I want to use the 'turbulentInlet' boundary condition. As far as I can see the use only inputs a fluctuation scale but what about the integral length scale or other appropiate scales because the flucation scale alone do not define a turublent inlet.

Ok I know it is anyway no real turbulent inlet because there is no turbulence strcuture etc.

Additionally, I was wondering what I have to set for k and epsilon at this turbulent boundary
...
New Member
Views 2612 Comments 0 kindle is offline Edit Tags
Old

Utilities: post average turbulence fields and create turbulence fields for LES

Posted September 25, 2017 at 12:45 by kindle

This seems to be useful

Quote:
Originally Posted by Hanzo View Post
Hi everybody,

I found the following issues in OpenFOAM concerning some turbulence analysis:

- the utility createTurbulenceFields only works for RAS computations
- there is no standard utility to average fields after computation has been done (to get U-mean, U-rms, R-Mean, Reff-Mean ...)

So I worked on these utilities and after mentioning it in some posts I got replies and private messages asking me if I could publish
...
New Member
Views 2511 Comments 0 kindle is offline Edit Tags
Old

Inlet velocity profile for turbulent pipe flow using swak4Foam

Posted September 14, 2017 at 05:29 by kindle

This is for the outer layer PowerLaw

Quote:
Originally Posted by zordiack View Post
Hi, I wanted a fully developed inlet velocity profile for my 3D-case and I decided to implement it using swak4Foam since I couldn't figure out how to do it with native OpenFOAM tools. So, I thought I'd share my solution here since it took me a while to figure it out.

Please note that in my case the inlet pipe centerline run along the y-axis, but it should by easy enough to modify for other cases too. Turbulent velocity profile is calculated
...
New Member
Posted in Uncategorized
Views 1570 Comments 0 kindle is offline Edit Tags
Old

pTraits

Posted September 14, 2017 at 05:05 by kindle

Code:
int(pTraits<arg1>::rank)
just gives flexibility to all types that pTraits wapped. And rank is another static member like "one" and "zero"


Quote:
Originally Posted by openfoammaofnepo View Post
Dear ngj,

Thank you so much. Today I met the pTraits in the turbulentInlet.C again. So I had a look at thread again. The codes are as follows:

Code:
        scalar rmsCorr = sqrt(12*(2*alpha_ - sqr(alpha_)))/alpha_;

        patchField =
            (1 - alpha_)*patchField
...
New Member
Posted in Uncategorized
Views 1597 Comments 0 kindle is offline Edit Tags
Old

How the boundary conditions are called in the OpenFOAM solvers?

Posted September 11, 2017 at 12:29 by kindle

Well, well well,

Quote:
Originally Posted by hjasak View Post
Easy:
- on correctBoundaryConditions() for a field
- on updateCoeffs() at matrix creation

correctBoundaryConditions is also called after the linear solver call automatically.


Enjoy,

Hrv
New Member
Posted in programming
Views 649 Comments 0 kindle is offline Edit Tags

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