CFD Online Logo CFD Online URL
Home > Forums

Blog Entries

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


Ideas on managing a repository that supports several OpenFOAM versions

Posted November 1, 2014 at 14:17 by wyldckat

It's been some time since I last blogged something about OpenFOAM. Most of my free time that I allocate to OpenFOAM-related topics has been more oriented to helping out on the forum and to write the most that I can on the unofficial OpenFOAM wiki: - and Twitter is a bit quicker to micro-blog about stuff, so check out my Twitter feed as well:

Anyway, today I received a question through a private message asking about ideas on how to...
Super Moderator
Views 2229 Comments 0 wyldckat is offline Edit Tags

All about the PIMPLE algorithm - Part II

Posted October 21, 2014 at 17:55 by Tobi
Updated November 4, 2014 at 14:36 by Tobi (Some errors and mistakes)

## Case 3.1 ##

Now we will use the following fvSolution file:
    nCorrectors            1;
    nOuterCorrectors    2;
Compared to Case 2 there is not a big difference. The only difference is that we calculate the pressure - momentum coupling in one time step twice:
  1. Calculate momentum
  2. Calculate pressure
  3. Recalculate momentum from new pressure
  4. Recalculate pressure from new momentum
Calculation in OpenFOAM is like:...
Tobi's Avatar
Senior Member
Views 2227 Comments 12 Tobi is offline Edit Tags

All about the PIMPLE algorithm - Part I

Posted October 21, 2014 at 17:54 by Tobi
Updated October 22, 2014 at 08:25 by Tobi

#### Storyboard ####

First I wanted to write a nice story like »Ignaz« but that would only copy the good attention of the author and of course I am not a good story-teller. Therefor I will go directly to the topic and will tell you how the PIMPLE algorithm is working in OpenFOAM, how to set up the keywords and which abilities you have to control the algorithm. The test case it the pitzDaily case in the pimpleFoam folder of incompressible fluids. Only the courant number was decreased...
Tobi's Avatar
Senior Member
Views 1460 Comments 0 Tobi is offline Edit Tags

useful udf ! thanks to macfly

Posted October 21, 2014 at 17:33 by diamondx

#include "udf.h"
real T_mean; /* defined outside because will be used in multiple DEFINE macros */

DEFINE_ADJUST(adjust, domain, t)
real T_tot;
real u;
real counter = 0;

face_t f;
int ID = 20; /* outlet ID displayed in Fluent boundary conditions panel */
Thread *thread;
thread = Lookup_Thread(domain, ID);
begin_f_loop(f, thread)
u = F_U(f, thread); /* x velocity...
diamondx's Avatar
Super Moderator
Posted in Uncategorized
Views 1365 Comments 0 diamondx is offline Edit Tags

Prism layers at airfoil using shappyHexMesh

Posted October 20, 2014 at 05:58 by skeptik (CFD notes)

Hard work with stupid snappyHexMeshDict bruteforcing and i have a result

Name:  no_problem.jpg
Views: 357
Size:  35.0 KB
Posted in Uncategorized
Views 309 Comments 0 skeptik is offline Edit Tags

All times are GMT -4. The time now is 19:41.