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

Generating nonuniform meshes with sizefunction

Posted April 18, 2012 at 21:57 by sunliming

Generating nonuniform meshes with sizefunction
---------------------------------------------------------------------------------
Quote:
Originally Posted by alberto View Post
Hello Ehsan,
the trick is exactly the one explained by Hrvoje in this thread.

Create a uniform mesh, with the number of nodes you need in the three directions. Then write a small utility which:

- Reads the mesh (see how this is done in all solvers or mesh manipulation utilities).

- Does

pointField
...
Member
Posted in Uncategorized
Views 486 Comments 0 sunliming is offline Edit Tags
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 2015 Comments 0 wyldckat is online now 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 1137 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 499 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 05: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 788 Comments 0 CHANDRAMOHAN is offline Edit Tags

All times are GMT -4. The time now is 09:13.