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

Best Entries

Register Blogs Community New Posts Updated Threads Search

Old
Rating: 5 votes, 4.80 average.

OpenFOAM: Interesting cases of bad meshes and bad initial conditions

Posted September 15, 2013 at 07:03 by wyldckat

This year (2013) has been an interesting one for me, regarding OpenFOAM. Even beyond the amazing features that OpenFOAM 2.2 brought to the world (at least to my world) and everything that I keep discovering about it.

This blog post is about the various threads/posts were I took the time to diagnose what was specifically wrong with the case and where the bad results are astonishingly wrong... simply because the details were not easily seen. The list might get updated along time, as I...
Retired Super Moderator
Views 7464 Comments 3 wyldckat is offline Edit Tags
Old
Rating: 2 votes, 4.50 average.

Build times for OpenFOAM 2.0.x code with Ubuntu 10.10 with its gcc 4.4.5

Posted August 20, 2011 at 12:41 by wyldckat
Updated August 27, 2011 at 14:36 by wyldckat (Added a few notes)

This post is gathers information about OpenFOAM 2.0.x build times, using the gcc version that comes with Ubuntu 10.10, namely 4.4.5.

_____________ This was initially posted here: http://www.openfoam.com/mantisbt/view.php?id=256 _____________

Since I was curious about using N+1 processes, I've built OpenFOAM 3 times on my machine that has 8GB of DDR2 800MHz and one AMD 1055T X6, using Ubuntu 10.10 with its original gcc version:
  • 1st build with 6 processes;
  • 2nd
...
Retired Super Moderator
Views 5953 Comments 2 wyldckat is offline Edit Tags
Old
Rating: 2 votes, 4.50 average.

Set (Initial) Internal Fields Using #codeStream

Posted April 23, 2012 at 14:55 by Hisham (Notes for OpenFOAM!)

To set up (initial) internal fields of variables according to an expression, one can use the #codeStream feature as:
Code:
internalField  #codeStream
{
    code
    #{
        const IOdictionary& d = static_cast<const IOdictionary&>(dict);
        const fvMesh& mesh = refCast<const fvMesh>(d.db());
        scalarField fld(mesh.nCells(), 12.34);// uniform value of the field as 12.34 or just fld(mesh.nCells())
...
Hisham's Avatar
Senior Member
Posted in Uncategorized
Views 3979 Comments 2 Hisham is offline Edit Tags
Old
Rating: 2 votes, 4.00 average.

MRF mesh generation using snappyHexMesh

Posted November 11, 2010 at 09:28 by amgode

Generating a mesh with a MRF region using snappyHexMesh:



-- using cylinder option (primitive shape available in OF-1.6 and above) and defining it in the geometry sub-dictionary in snappyHexMeshDict

cylinder
{
type searchableCylinder;
point1 (0 0 10);
point2 (0 0 20);
radius 10;
}

Using this as a refinement surface and obtaining the cells inside as a MRF cellZone.

castellatedMeshControls...
amgode's Avatar
New Member
Posted in Uncategorized
Views 5581 Comments 6 amgode is offline Edit Tags
Old
Rating: 2 votes, 4.00 average.

Propeller blade tips shape and Q

Posted March 19, 2015 at 05:01 by skeptik (CFD notes)

Red - baseline (right on Q-comparation image)
Grey - advanced tip (left on Q-comparation image)

Name:  blade-tips.jpg
Views: 2796
Size:  16.9 KB

Name:  t065-Q-comp.jpg
Views: 3184
Size:  49.8 KB
Member
Posted in Uncategorized
Views 2643 Comments 0 skeptik is offline Edit Tags

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