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

libOpenSMOKE - Making it work once again with OpenFOAM

Posted April 14, 2012 at 05:43 by wyldckat
Updated April 21, 2012 at 08:33 by wyldckat (updated current status)

The other day Tobi asked for my help on building http://www.cfd-online.com/Forums/ope...opensmoke.html
After looking at the code and doing some trial and error, basing myself also on Tobi's already collected information, I managed to get it built/working with OpenFOAM 1.7.x, 2.0.x and 2.1.x.

And since the original page only provided a rarball (on Linux?) of the source code, I decided to use my github account to harbor the original code along...
Super Moderator
Posted in wyldckat@github
Views 1196 Comments 0 wyldckat is offline Edit Tags
Old

codedFixedValue Boundary Condition

Posted April 11, 2012 at 16:57 by Hisham (Notes for OpenFOAM!)

This is an example of using codedFixedValue boundary condition to input expressions that are time and position dependent.

Code:
    PatchName
    {
      type               codedFixedValue; 
      value              uniform (0 0 0); //$internalField;
      redirectType    BC_Given_Name; 
      code 
	#{ 
	     fixedValueFvPatchVectorField myPatch (*this);
	     forAll(myPatch, celli)
	       {
	         myPatch[celli]
...
Hisham's Avatar
Senior Member
Posted in Uncategorized
Views 867 Comments 0 Hisham is offline Edit Tags
Old

Cyclic (Periodic) Boundary Condition

Posted April 11, 2012 at 16:57 by Hisham (Notes for OpenFOAM!)
Updated April 12, 2012 at 06:12 by Hisham

OF V.2.x
Cyclic (periodic) boundary condition is used to model repetitive geometries by joining two patches as if they were physically attached to each other!
The "simplest" way to apply a cyclic BC is to have two patches that are identical and define them in the ./constant/polyMesh/boundary as:
Code:
 RightPatch
    {
        type            cyclic;
        nFaces          49;
        startFace       9506;
        neighbourPatch
...
Hisham's Avatar
Senior Member
Posted in Uncategorized
Views 374 Comments 0 Hisham is offline Edit Tags
Old

Case study on blood flow over nfrpc bone attached plate using computational fluid dyn

Posted February 24, 2012 at 04:36 by CHANDRAMOHAN

CASE STUDY ON BLOOD FLOW OVER NFRPC BONE ATTACHED PLATE USING COMPUTATIONAL FLUID DYNAMICS

D.Chandramohan
Ph.D., Research scholar, Department of Mechanical Engineering,
Anna University of Technology Coimbatore, Coimbatore, India
Email: mail_2_cm@yahoo.com
Mobile No:+91-9994116596
K. Marimuthu
Associate Professor, Department of Mechanical Engineering,
Coimbatore Institute of Technology, Coimbatore, India
Email: kmcit@yahoo.co.uk...
New Member
Posted in Uncategorized
Views 628 Comments 0 CHANDRAMOHAN is offline Edit Tags
Old

Using a hybrid mesh for a simple pipe

Posted February 23, 2012 at 21:18 by rikio

The method to create a hybrid mesh.

Quote:
Originally Posted by PSYMN View Post
You need to create some construction geometry between where you want the two types of mesh (a cylinder in this case). Then generate a tetra mesh on the outside and a hexa blocking on the inside. It is important that this construction geometry be uniquely named and that both mesh types are projected to it and its perimeter... Then go to Edit Mesh => Merge => Merge meshes. You can check the help from there to get the rest of the way.
...
Senior Member
Posted in Uncategorized
Views 393 Comments 0 rikio is offline Edit Tags

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