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

Blog Entries

Register Blogs Community New Posts Updated Threads Search

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
Old

RUnning FIRE from cmd prompt

Posted February 14, 2018 at 00:49 by Nartasan

Quote:
Originally Posted by cfdvenkatesh View Post
You can use "fire_cmd --help" to know all the options.

Easier way to get started is to launch the FIRE job from GUI and look for a command in job_setup.log file in case directory.

The FIRE 2017.1 version should have an option to directly submit into queuing system from GUI

Hi cfdvenkatesh,

We only have avl2014 installed in our HPC. By the way, I'm mostly using linux environment so I run the simulation in bash.
...
New Member
Posted in Uncategorized
Views 1544 Comments 0 Nartasan is offline Edit Tags
Old

Tutorial of how to plot residuals !

Posted February 6, 2018 at 18:59 by TurbJet

Quote:
Originally Posted by wolle1982 View Post
Hi all,

since apearantly noone has an idea of how to plot the residuals of a calculation on-the-fly, I will give a small manual on that:

Tutorial on "How to plot the residuals (and forces) graphically on screen on-the-fly"

Step 1:
Start the calculation and make it write out a log-file. for example
turbFoam >log
"log" is the name of the log-file to be output. It is written into the main-case-folder.
...
Senior Member
Posted in Uncategorized
Views 1442 Comments 0 TurbJet is offline Edit Tags
Old

Meshing with Solome for OpenFOAM

Posted January 26, 2018 at 15:13 by makaveli_lcf (test)

So I have started to study Salome for the drawing and meshing geometries for the OpenFOAM applications.

It is very easy tool to create geometries, in my case first try was continuous casting mold with a submerged entry nozzle.

Meshing order

  1. Mesh the edges, especially feature edges
  2. Mesh faces with the transition from smaller elements near the features to bigger ones away from them (where it is actually needed)
  3. Mesh the rest of the volume mesh
Senior Member
Posted in Preprocessing
Views 1388 Comments 0 makaveli_lcf is offline Edit Tags
Old

pressure eq. "converges" after few time steps

Posted December 1, 2017 at 05:05 by kindle

Have a thread about simplefoam convergence.

Quote:
Originally Posted by maddalena View Post
thank you, however:

corrected is extra, isn't it?

This will no improve the initial convergence, since the solver will stop when the relTol is 0.05. thus it will not run until 1E-12 but stop at 0.05. And pressure equation will be not converged smoothly, I guess. What are your experience on the subject? What do you mean with not efficient?

Somewhere else it has been suggested to use pressure
...
New Member
Posted in Uncategorized
Views 3313 Comments 0 kindle is offline Edit Tags

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