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

kindle

Register Blogs Community New Posts Updated Threads Search

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 606 Comments 0 kindle is offline Edit Tags
Old

post-processing procedures in OpenFOAM

Posted January 6, 2017 at 07: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 1924 Comments 0 kindle is offline Edit Tags
Old

divDevRhoReff and divDevReff

Posted January 6, 2017 at 07:12 by kindle
Updated February 23, 2017 at 04: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 1830 Comments 0 kindle is offline Edit Tags
Old

3D sphere - blockMesh

Posted December 15, 2016 at 12: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 1936 Comments 0 kindle is offline Edit Tags
Old

debug Openfoam using other tools

Posted December 9, 2016 at 04:51 by kindle
Updated February 23, 2017 at 04:04 by kindle

Waaaaaaaaa

Quote:
Originally Posted by wyldckat View Post
Greetings Danath,

Well, since you're building your own code, I suggest that you study this wiki page: http://openfoamwiki.net/index.php/HowTo_debugging

As for the output you're getting:
  1. Line #1 is telling you that a SIGFPE has been triggered: http://en.wikipedia.org/wiki/SIGFPE#SIGFPE
  2. Line #3 is telling you more or less where the problem occurred.
Best regards,
Bruno
New Member
Posted in other tools
Views 870 Comments 0 kindle is offline Edit Tags

All times are GMT -4. The time now is 12:24.