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

Search Results

Register Blogs Community New Posts Updated Threads Search

Showing results 1 to 15 of 15
Search took 0.00 seconds.
Search: Posts Made By: MartinB
Forum: OpenFOAM February 22, 2011, 05:58
Replies: 39
Views: 15,666
Posted By MartinB
The face unit interface normal flux... See...

The face unit interface normal flux...

See the comments here, line 00113ff:
http://foam.sourceforge.net/doc/Doxygen/html/interfaceProperties_8C_source.html

Martin
Forum: OpenFOAM February 17, 2011, 08:36
Replies: 39
Views: 15,666
Posted By MartinB
Hi Andrea, without doing testing, just...

Hi Andrea,

without doing testing, just removed some typos... have a look...

Martin
Forum: OpenFOAM February 14, 2011, 07:16
Replies: 39
Views: 15,666
Posted By MartinB
Hi Andrea, to use the writeGradientAlpha1...

Hi Andrea,

to use the writeGradientAlpha1 tool in OpenFOAM-1.7.0 replace the lines in writeGradientAlpha1/Make/options with:
EXE_INC = \
-I$(LIB_SRC)/transportModels \
...
Forum: OpenFOAM February 11, 2011, 10:26
Replies: 39
Views: 15,666
Posted By MartinB
Yes, you can. Please have a look at the file...

Yes, you can.

Please have a look at the file
Make/options

Right now the executable is written to
$(FOAM_USER_APPBIN)
so only you have access to it. If you want to make it available globally...
Forum: OpenFOAM February 11, 2011, 10:15
Replies: 39
Views: 15,666
Posted By MartinB
Hi Andrea, you must read the alpha1 field...

Hi Andrea,

you must read the alpha1 field from disk first, otherwise your tool doesn't know what to work on.

Extract the attached tool to your user directory, for example...
Forum: OpenFOAM January 31, 2011, 07:20
Replies: 39
Views: 15,666
Posted By MartinB
Hi Andrea, just remove the line "#include...

Hi Andrea,

just remove the line "#include RASModel.H". It was necessary for wall shear stress calculation in the original piece of code...

Martin
Forum: OpenFOAM January 28, 2011, 11:58
Replies: 39
Views: 15,666
Posted By MartinB
Hi again, I found the bug: a bracket related...

Hi again,

I found the bug: a bracket related problem... so here comes the (hopefully) correct parallel version:
#include "RASModel.H"
// write matlab file

{
Info << "Writing Area of the...
Forum: OpenFOAM January 28, 2011, 09:34
Replies: 39
Views: 15,666
Posted By MartinB
Hi Andrea, some minor problems removed: ...

Hi Andrea,

some minor problems removed:

// write matlab file
{
Info << "Writing Area of the cells on the patch!" << endl;

word wallPatchName = "obstacle";
Info << "Searching...
Forum: OpenFOAM January 28, 2011, 07:27
Replies: 39
Views: 15,666
Posted By MartinB
Hi Andrea, you might have a look at this...

Hi Andrea,

you might have a look at this thread:
http://www.cfd-online.com/Forums/openfoam-solving/78354-improve-simplefoam-convergence-2.html

In post #29 there is a piece of code that...
Forum: OpenFOAM January 12, 2011, 10:24
Replies: 39
Views: 15,666
Posted By MartinB
Hi Andrea, you could append the lines from post...

Hi Andrea,
you could append the lines from post #10 to each mesh converting tool, of course... for gmshToFoam.C it would be directly before the line "Info<< "End\n" << endl;".

However it would...
Forum: OpenFOAM December 9, 2010, 03:39
Replies: 39
Views: 15,666
Posted By MartinB
Yes, you must recompile. Simply call wmake in the...

Yes, you must recompile. Simply call wmake in the interFoam directory to make a quick shot.

By the way it might be a good idea to make these kind of changes in your user application folder. Copy...
Forum: OpenFOAM December 8, 2010, 05:57
Replies: 39
Views: 15,666
Posted By MartinB
Hi Andrea, if you don't use a dynamic mesh...

Hi Andrea,

if you don't use a dynamic mesh (i.e. cell volumes stay constant) you can write the values immediately before "Info<< "\nStarting time loop\n" << endl;" in interFoam.

To write the...
Forum: OpenFOAM December 8, 2010, 04:25
Replies: 39
Views: 15,666
Posted By MartinB
Hi Andrea, it depends ;-) Without...

Hi Andrea,

it depends ;-)

Without knowing your solver and the operation you want to perform with cell volumes I can only guess:
- you might want to create a volScalarField that will contain...
Forum: OpenFOAM December 8, 2010, 04:04
Replies: 39
Views: 15,666
Posted By MartinB
Hi Andrea, you can loop over the cells...

Hi Andrea,

you can loop over the cells volumes and print them with

forAll(mesh.V(),celli)
{
Info << mesh.V()[celli] << nl;
}
Forum: OpenFOAM December 8, 2010, 01:34
Replies: 39
Views: 15,666
Posted By MartinB
Hi Daniel, you can try this: ...

Hi Daniel,

you can try this:

volScalarField cv
(
IOobject
(
"cv",
runTime.timeName(),
Showing results 1 to 15 of 15

 
Forum Jump

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