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

Blog Entries

Register Blogs Community New Posts Updated Threads Search

Old

fluent UDF parallel problem

Posted January 12, 2017 at 03: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 978 Comments 0 tanpeilai is offline Edit Tags
Old

post-processing procedures in OpenFOAM

Posted January 6, 2017 at 06:54 by kindle

$ ls src/postProcessing
Allwmake foamCalcFunctions functionObjects postCalc

In "Allwmake" types for the three:
postCalc : libo
foamCalcFunctions : libso
functionObjects : libso

Ref{
In User's Guide "Running wmake"
lib : statically linked lib
libso : dynamically linked lib (*.so)
libo : statically linked object file lib (*.o)
}

************************************************** ******...
New Member
Posted in Post-processing
Views 1878 Comments 0 kindle is offline Edit Tags
Old

divDevRhoReff and divDevReff

Posted January 6, 2017 at 06:12 by kindle
Updated February 23, 2017 at 03:02 by kindle

There is a post of Tobi's eq-code explanation on viscous stress.

In incompressible flow, beside normal stress (taken out as p*I), the viscous part is only a function of deviate part of grad(U) (or its transpose).

In "SymmTensorI.H"
there are tow functions for deviate part of a tensor as explained by Tobi : dev and dev2

320 //- Return the deviatoric part of a symmetric tensor
321 template<class Cmpt>
322 inline SymmTensor<Cmpt>...
New Member
Posted in programming
Views 1769 Comments 0 kindle is offline Edit Tags
Old

3D sphere - blockMesh

Posted December 15, 2016 at 11:54 by kindle

snappyHexMesh ..........

Quote:
Originally Posted by wyldckat View Post
Greetings Ben,

I think it's not impossible, but it's probably very arduous to do. There are a few solutions I can think of:
  • Do it interactively: http://openfoamwiki.net/index.php/Contrib/SwiftBlock
  • Cheat by using snappyHexMesh, as shown in the tutorial "mesh/snappyHexMesh/iglooWithFridges".
  • Use Plot3D format to design the mesh, then convert with datToFoam and then run blockMesh.
  • Use OpenFOAM's codeStream and code it directly
...
New Member
Posted in Pre-processing
Views 1867 Comments 0 kindle is offline Edit Tags
Old

New User

Posted December 11, 2016 at 19:42 by stefcfd

Hello CFD community my name is stefan and am interested in learning about CFD
New Member
Posted in Uncategorized
Views 1820 Comments 0 stefcfd is offline Edit Tags

All times are GMT -4. The time now is 16:01.