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

Blog Entries

Register Blogs Community New Posts Updated Threads Search

Old

corrupted double-linked list

Posted February 21, 2017 at 13:04 by kindle

I copied a derived boundary condition from src/finiteVolume/fields/fvPatchFields/derived/turbulentInlet modified and recompiled it in user directory. It compiles and I name the new library libturbulentInletUser.
When using it in a simluation. Running the solver seems all right but I get "corrupted double-linked list" when I call "blockMesh" or "decomposePar".

In the source code, all classes in finiteVolume is compiled as a single library which contains...
New Member
Posted in Good habit, runtime
Views 989 Comments 0 kindle is offline Edit Tags
Old

LES: Turbulent Channel Flow without initial solution (BC)

Posted February 21, 2017 at 10:33 by kindle
Updated February 23, 2017 at 04:02 by kindle

In this post, the kinetic energy is monitered and the turbulentInlet condition is explained. We cannot use Reynolds averaged profile as inlet, because it is only seen by time average.

While monitering kinetic energy of all flow (not just the turbulent part), when this value tends to some stable state the mean and the turbulent part is then established.

Quote:
Originally Posted by Lieven View Post
Hi Danesh,

Averaged profiles are not instantaneous profiles. You will never see them in real life as in 'hey
...
New Member
Posted in Pre-processing
Views 568 Comments 0 kindle is offline Edit Tags
Old

Inlet velocity profile using swak4Foam

Posted February 16, 2017 at 05:29 by kindle

The problem of this is that groovy can impose an inlet profile but cannot take data downstream (this is the main difficulty) and then rescale to the entry. Adding fluctuation is straight forward.

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
...
New Member
Posted in Pre-processing
Views 609 Comments 0 kindle is offline Edit Tags
Old

Wall Function

Posted February 14, 2017 at 16:25 by bfox48

Quote:
Originally Posted by firb86 View Post
Does Flow 3D have a wall functions? How does the phenomenon solve when y+>5?

Best regards

When the turbulence models are turned on, then FLOW3D applies the logarithmic wall function in the cells intersecting a surface. It assumes the center of the cells is with the turbulent region of the logarithmic velocity profile, which is approx: 30<y+<1000.

Lots of explanation in the user manual.
New Member
Posted in Uncategorized
Views 869 Comments 0 bfox48 is offline Edit Tags
Old

fluent UDF parallel problem

Posted January 12, 2017 at 04:13 by tanpeilai

Quote:
Originally Posted by KevinZ09 View Post
Here's a UDF I think should work, though haven't tried it. Either way, give it a shot, or compare it with yours, and see if it works. If not, or yours doesn't, let me know.

Code:
#include "udf.h"
#define P_outlet_ID 2

  real flow;  /* defined outside because will be used in multiple DEFINE macros */

DEFINE_ADJUST(adjust, domain)
{

  /* "Parallelized" Sections */
  #if !RP_HOST  /* Compile
...
New Member
Posted in Uncategorized
Views 1074 Comments 0 tanpeilai is offline Edit Tags

All times are GMT -4. The time now is 22:45.