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

Search Results

Register Blogs Members List Search Today's Posts Mark Forums Read

Showing results 1 to 10 of 10
Search took 0.00 seconds.
Search: Posts Made By: gschaider
Forum: OpenFOAM Running, Solving & CFD October 22, 2014, 15:52
Replies: 59
Views: 30,772
Posted By gschaider
No. Boundary condition should never go into the...

No. Boundary condition should never go into the solver. Only Fortran-Programmers do such a thing.

Possible solutions are the coded-BoundaryCondition that comes with OpenFOAM (there you've got to...
Forum: OpenFOAM Running, Solving & CFD September 16, 2013, 16:20
Replies: 59
Views: 30,772
Posted By gschaider
From me you're going to hear "groovyBC". Others...

From me you're going to hear "groovyBC". Others will tell you "coded". Second is with C++-programming, first without
Forum: OpenFOAM Running, Solving & CFD August 8, 2011, 15:08
Replies: 59
Views: 30,772
Posted By gschaider
No idea. SegFault is usually accessing an element...

No idea. SegFault is usually accessing an element that is not in a list. Do yourself a favour and compile yourself a Debug-version of OF if you want to go into developing. The Debug-version checks...
Forum: OpenFOAM Running, Solving & CFD August 8, 2011, 11:39
Replies: 59
Views: 30,772
Posted By gschaider
Aaaa. It was so obvious: word...

Aaaa. It was so obvious:

word patchName(args.args()[3]);

that is pre 1.5-convention. Use 0 instead of 3.
Forum: OpenFOAM Running, Solving & CFD August 8, 2011, 10:44
Replies: 59
Views: 30,772
Posted By gschaider
If my theory is correct then NO utilitiy you...

If my theory is correct then NO utilitiy you compiled yourself should work. The reason would be that the compiler that was used for compiling OF used another library for the strings (probably because...
Forum: OpenFOAM Running, Solving & CFD August 8, 2011, 06:32
Replies: 59
Views: 30,772
Posted By gschaider
Not 100% sure but usually if the code SegFaults...

Not 100% sure but usually if the code SegFaults at this basic_string the problem is that you're mixing binaries (library and exe) produced by two different g++-versions. But your milage may vary
Forum: OpenFOAM Running, Solving & CFD January 27, 2010, 10:54
Replies: 59
Views: 30,772
Posted By gschaider
OK. Now I get it. You're mixing cells with faces....

OK. Now I get it. You're mixing cells with faces. What you'll want is
scalar test = mesh.C()[cellI].y() /R;
But your code gives the more interesting (not completely random) patterns
Forum: OpenFOAM Running, Solving & CFD January 14, 2010, 16:24
Replies: 59
Views: 30,772
Posted By gschaider
Yes. Have a look at Table 2.1 in the Programmer's...

Yes. Have a look at Table 2.1 in the Programmer's guide for the meaning of Cf(). What you'll also find is the method C() for cell centers which you'll propably need for non-uniform internal fields
Forum: OpenFOAM Running, Solving & CFD January 13, 2010, 15:10
Replies: 59
Views: 30,772
Posted By gschaider
The best strategy is usually "which utility does...

The best strategy is usually "which utility does something like this and can inspire me". Have a look at the code of the engineSwirl-utility (found in $FOAM_UTILITIES/preprocessing). Basically a cell...
Forum: OpenFOAM Running, Solving & CFD January 11, 2010, 15:01
Replies: 59
Views: 30,772
Posted By gschaider
That was not what you wanted to write. You wanted...

That was not what you wanted to write. You wanted something like
(mesh.boundaryMesh()[patchI].name() == "inlet-air" || mesh.boundaryMesh()[patchI].name() == "sidewall" ||
...
Showing results 1 to 10 of 10

 
Forum Jump

All times are GMT -4. The time now is 17:31.