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

Blog Entries

Register Blogs Community New Posts Updated Threads Search

Old

Lognormal Distribution for Particle Size in OpenFOAM

Posted May 1, 2018 at 12:13 by Mehar

This is for future reference, if anyone wants to use lognormal particle distribution in OpenFoam.
1) Generate PDF from following formula


Here mu and sigma are the geometric mean and standard deviation of the particle size distribution
Here is an example plot of the lognormal distribution with mean 1 and standard deviations of 1.8, and 3. You can first re-create lognormal distribution with these parameters...
Attached Files
File Type: xlsx logNormal Pdf.xlsx (36.0 KB, 484 views)
File Type: txt kinematicCloudProperties.txt (5.2 KB, 426 views)
New Member
Posted in OpenFoam
Views 2909 Comments 1 Mehar is offline Edit Tags
Old

Wall function usage

Posted April 2, 2018 at 23:34 by zacwhee

about wallfunction usage
Quote:
Originally Posted by G_German View Post
Since the documentation on the use of wall functions (or BCs for turbulence models in general) in OpenFOAM is rather small I tried to write up a little summary of what is posted in the internet (for kEpsilon, kOmegaSST & SA).
As this may also be interesting to other people and I would be interested in feedback, please find the summary below:

Basics:
If the grid near the wall is fine enough (~y+<1 everywhere and at least 4-5 nodes
...
New Member
Posted in Uncategorized
Views 2742 Comments 0 zacwhee is offline Edit Tags
Old

Exporting two different meshes simultaneously from salome to openfoam

Posted March 16, 2018 at 15:13 by p@nkaj

Hello,
This is my first post.

I want to export two different meshes at a time from salome 8.3.0 to (OpenFOAM-in-Box-18.02-r638).
I don't want to compound those meshes.
I used med and cgns formats to export, but failed.
When I exported using med, I was unable to convert it into foam file. I tried using ideasUnvToFoam <File_name>.med.
The polymesh folder was created, but all the files i.e. boundary, points, faces, neighbour and owner were empty....
New Member
Posted in Uncategorized
Views 2513 Comments 0 p@nkaj is offline Edit Tags
Old

cfMesh my steps

Posted March 3, 2018 at 00:48 by student666
Updated September 22, 2018 at 13:53 by student666

fms file creation
Code:
surfaceToFMS file.stl
extraction of edges from stl file
Code:
surfaceFeatureEdges file.stl file.fms -angle 30
This is to visualize with paraview
Code:
FMSToSurface -exportFeatureEdges file.fms fileEdge.fms
#several steps for improving mesh quality
Code:
cartesianMesh.exe
checkMesh.exe >> log.Mesh1
improveMeshQuality.exe
checkMesh.exe >> log.Mesh1
improveMeshQuality.exe
checkMesh.exe >> log.Mesh1
improveSymmetryPlanes.exe
...
Senior Member
Posted in Pre-processing
Views 3091 Comments 1 student666 is offline Edit Tags
Old

MPI barrier inside OpenFoam

Posted March 1, 2018 at 06:34 by kindle

Pstream has two sub directories :
dummy and mpi

Quote:
Originally Posted by matteoL View Post
Hello,
when running in parallel, for some reasons I have some actions that have to be done only by the master core and I would like the other partitions to wait until the master has finished.
(I call those action doing:
If (Pstream::master()){ ...} )


I think the solution in a general c++ code using MPI would be to add a line like:
MPI_BARRIER(MPI_COMM_WORLD)
...
New Member
Posted in programming
Views 1892 Comments 0 kindle is offline Edit Tags

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