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

Blog Entries

Register Blogs Members List Search Today's Posts Mark Forums Read

Old

Personal Notes - postProcessing

Posted June 22, 2018 at 23:15 by student666

OF 5.x-dev

Function to be added on controlDict, maybe there's a postProcess utility, but I haven't find any.

This is for sampling fields on surfaces as stl
Code:
        pressureAverageOnTriSurface_left //name of the folder where .dat is saved
        {
            name            left;   //dumb entry ??
            
            type            surfaceFieldValue;
            libs            ("libfieldFunctionObjects.so");
...
Senior Member
Posted in Uncategorized
Views 24 Comments 0 student666 is offline Edit Tags
Old

Lognormal Distribution for Particle Size in OpenFOAM

Posted May 1, 2018 at 11: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, 17 views)
File Type: txt kinematicCloudProperties.txt (5.2 KB, 29 views)
New Member
Posted in OpenFoam
Views 968 Comments 0 Mehar is offline Edit Tags
Old

Wall function usage

Posted April 2, 2018 at 22: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 1962 Comments 0 zacwhee is offline Edit Tags
Old

Exporting two different meshes simultaneously from salome to openfoam

Posted March 16, 2018 at 14: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 1846 Comments 0 p@nkaj is offline Edit Tags
Old

cfMesh my steps

Posted March 2, 2018 at 23:48 by student666
Updated March 10, 2018 at 01:23 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 Uncategorized
Views 1871 Comments 1 student666 is offline Edit Tags

All times are GMT -4. The time now is 20:04.