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

Meeting other OF-Users at OFW7

Posted July 1, 2012 at 06:06 by Linse
Updated July 1, 2012 at 09:11 by wyldckat

Last week I did take part in the OpenFOAM Workshop 7 (OFW7) at Darmstadt's "Darmstadtium". It certainly was a great experience!

There was only one minor downside to it: The architect of the Darmstadtium obviously had a strange idea of providing fun to visitors of the building by making orientation difficult. Somehow the different walkways reminded me of a book about a young wizard who comes to a school of wizardry and finds a staircase changing every now and then.
Luckily...
Senior Member
Posted in Uncategorized
Views 458 Comments 0 Linse is offline Edit Tags
Old

power law code

Posted June 12, 2012 at 01:26 by alven299

This is a very useful UDF for beginners...

Quote:
Originally Posted by Antoine
;139313
I've finally found the causes of the problem. To initialize correctly the apparent viscosity, I used the current iteration number macro N_ITER, so when it is < 1 (computation is not launched) apparent viscosity is set to a fixed value. Also, in my previous udf, I defined -k because I'm used to see a minus sign before k in the definition of the shear stress. But the apparent viscosity is positive so the minus sign is a source of error because
...
New Member
Posted in Uncategorized
Views 505 Comments 0 alven299 is offline Edit Tags
Old

Gnuplot Vector Probes from the funtionObject

Posted June 9, 2012 at 15:27 by Hisham (Notes for OpenFOAM!)

When using the functionObject to probe a vector (e.g. velocity) at a location, the output is in the format:
Code:
# Time  vector
1.20   (2.14   8.512   1.005)
.
.
.
Unlike sampling or using probeLocations, until now AFAIK it is not possible to use U.component(0) to spit only the X-component. To resolve that using gnuplot, one can use:
Code:
plot 'probeFile' using "%lf (%lf %*lf %*lf)"
to plot the Ux component...
Hisham's Avatar
Senior Member
Posted in Uncategorized
Views 1559 Comments 3 Hisham is offline Edit Tags
Old

Metis for OpenFOAM 2.1.0

Posted June 9, 2012 at 10:03 by sunliming

Quote:
Originally Posted by AlmostSurelyRob View Post
Yes, you need to download metis from this site
http://people.sc.fsu.edu/~jburkardt/c_src/metis/metis.html

and GKLib. GKLib was a bit more tricky to find but I have found it for example here:
http://code.google.com/p/graphlabapi...0a9d384317c3bf
You can checkout the whole repository if you have mercurial installed.

Now it's the question of compiling these things. Set up your include
...
Member
Posted in Uncategorized
Views 622 Comments 0 sunliming is offline Edit Tags
Old

The directionMixed Boundary Condition

Posted June 7, 2012 at 10:53 by Hisham (Notes for OpenFOAM!)
Updated June 7, 2012 at 13:45 by Hisham

A mixed boundary condition is a combination of a fixedValue (Drichilet) and a fixedGradient (Neumann) boundaries determined by a fraction value. When fraction = 1, the BC is fixedValue and when it is set to zero the BC is fixedGradient. Values in between calculate a value in between (see code).

The directionMixed BC allows changing the fraction value for different directions. Assuming a plane-strain stress analysis that needs fixation in X-direction (Dx = 0) and free Y-direction...
Hisham's Avatar
Senior Member
Posted in Uncategorized
Views 687 Comments 0 Hisham is offline Edit Tags

All times are GMT -4. The time now is 22:32.