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

Entries for March 2018

Register Blogs Community New Posts Updated Threads Search

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 2446 Comments 0 p@nkaj is offline Edit Tags
Old

cfMesh my steps

Posted March 2, 2018 at 23:48 by student666
Updated September 22, 2018 at 12: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 2937 Comments 1 student666 is offline Edit Tags
Old

MPI barrier inside OpenFoam

Posted March 1, 2018 at 05: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 1774 Comments 0 kindle is offline Edit Tags

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