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 25 of 25
Search took 0.00 seconds.
Search: Posts Made By: gschaider
Forum: OpenFOAM Community Contributions June 11, 2014, 11:29
Replies: 71
Views: 14,962
Posted By gschaider
See...

See http://www.cfd-online.com/Forums/openfoam-pre-processing/61981-funkysetfields-141-a-7.html#post306250 above: you probably want to use faceAverage
Forum: OpenFOAM Community Contributions May 4, 2011, 11:45
Replies: 71
Views: 14,962
Posted By gschaider
You're not REALLY using the 1.4.1 version, are...

You're not REALLY using the 1.4.1 version, are you? If yes: that version of FSF is quite old and I can't help you on that. If no: why are you posting in a thread that implies that? (see also...
Forum: OpenFOAM Community Contributions April 29, 2009, 13:48
Replies: 71
Views: 14,962
Posted By gschaider
Not really. The first expression depends on the...

Not really. The first expression depends on the boundary of the mesh (dist() is the distance to the nearest wall). The grad gives you the direction away from the wall. The vector in the cross-product...
Forum: OpenFOAM Community Contributions March 17, 2009, 15:46
Replies: 71
Views: 14,962
Posted By gschaider
It means "if the logical expression xxx is true...

It means "if the logical expression xxx is true for a cell use the value xxy, else use xxz"
Forum: OpenFOAM Community Contributions March 16, 2009, 07:09
Replies: 71
Views: 14,962
Posted By gschaider
Hi! Partial filling of the cells is easy if...

Hi!

Partial filling of the cells is easy if the mesh is equally spaced with a spacing dy in y-direction (please replace dy with the actual spacing and fun with the function you're using...
Forum: OpenFOAM Community Contributions March 16, 2009, 06:08
Replies: 71
Views: 14,962
Posted By gschaider
Actually the update is already on the SVN. I also...

Actually the update is already on the SVN. I also added the other functions that are specified in for scalars in the Programmer's guide. I just prefixed the Bessel-functions with "bessel" because I...
Forum: OpenFOAM Community Contributions March 12, 2009, 12:11
Replies: 71
Views: 14,962
Posted By gschaider
There are two files in the FSF

There are two files in the FSF-sources with those extensions. You don't have to understand what you're doing there. Just trust you instincts ;) (some of the stuff you have to duplicate goes over more...
Forum: OpenFOAM Community Contributions March 12, 2009, 08:17
Replies: 71
Views: 14,962
Posted By gschaider
Currently: no What do you n

Currently: no

What do you need THAT for?

Shouldn't be to hard to implement as it seems to be implemented as a function for fields: in the .yy and the .ll file duplicate everything that has...
Forum: OpenFOAM Community Contributions July 31, 2008, 04:25
Replies: 71
Views: 14,962
Posted By gschaider
According to a Sourceforge-Bul

According to a Sourceforge-Bulletin the sourceforge-svn-server is currently down for maintainance (they are speaking of a 12 hour window, which should be over soon, so be patient)

Bernhard
Forum: OpenFOAM Community Contributions July 29, 2008, 07:04
Replies: 71
Views: 14,962
Posted By gschaider
Hi! It has been asked at an

Hi!

It has been asked at another place on the board when FSF will work with 1.5. Well it looks like the 1.4.1-version compiles without modifications on 1.5 (which means: it worked all the time)....
Forum: OpenFOAM Community Contributions July 1, 2008, 13:37
Replies: 71
Views: 14,962
Posted By gschaider
Hi Carlo! But instead of th

Hi Carlo!

But instead of the second -expression you surly used -condition, didn't you?

Bernhard
Forum: OpenFOAM Community Contributions July 1, 2008, 05:41
Replies: 71
Views: 14,962
Posted By gschaider
Hi Carlo! If the fields rho

Hi Carlo!

If the fields rho and pd exist in the time-step you're working on it should be possible. But FSF has no way of reading the densities for the two phases that are represented by gamma
...
Forum: OpenFOAM Community Contributions June 13, 2008, 07:47
Replies: 71
Views: 14,962
Posted By gschaider
Hi Niels! The problem ist t

Hi Niels!

The problem ist the following: for the ?:-operator FSF evaluates all three fields (the condition, the true and the false-value) and then chooses the value for each cell according to...
Forum: OpenFOAM Community Contributions June 11, 2008, 15:40
Replies: 71
Views: 14,962
Posted By gschaider
Hi! One last thing (and the

Hi!

One last thing (and then I will shut up). If you can assume that the cells are approximately cubes then you might get their characteristic length with "pow(vol(),0.3333)"

Bernhard
Forum: OpenFOAM Community Contributions June 11, 2008, 15:36
Replies: 71
Views: 14,962
Posted By gschaider
Hi Niels! I think this won'

Hi Niels!

I think this won't work the way you want to. You want the max/min of the faces on a cell. But what you get is the total max/min.

Something that might work with the existing...
Forum: OpenFOAM Community Contributions May 30, 2008, 04:54
Replies: 71
Views: 14,962
Posted By gschaider
Something else Niels: "I'll wa

Something else Niels: "I'll wash your hands, you wash mine"
Should you get a satisfactory result using funkySF, could you add it to the section "Usage examples" on the Wiki page?
Forum: OpenFOAM Community Contributions May 30, 2008, 04:35
Replies: 71
Views: 14,962
Posted By gschaider
I think waves like that can no

I think waves like that can not fully be avoided as long as you don't align the grid with the surface of the initial conditions.
The particular pattern in your picture seems to come from the fact...
Forum: OpenFOAM Community Contributions May 29, 2008, 13:00
Replies: 71
Views: 14,962
Posted By gschaider
Now it works (new version just

Now it works (new version just went to the SVN. Get it from there)

The expression would be:
"average(fpos().y < surf(0.) ? surf(1.) : surf(0.))"

The surf-functions generates...
Forum: OpenFOAM Community Contributions May 29, 2008, 09:31
Replies: 71
Views: 14,962
Posted By gschaider
Hi Niels. Just discovered that

Hi Niels. Just discovered that I was bragging. There are essential things missing for that to work
Forum: OpenFOAM Community Contributions May 29, 2008, 08:35
Replies: 71
Views: 14,962
Posted By gschaider
Hi Niels! Maybe a quick fix

Hi Niels!

Maybe a quick fix could be the following expression in funkySetFields (havn't got the time to try this out so the syntax might be slightly wrong):

"average(fpos().y < 0 ? 1 : 0)" ...
Forum: OpenFOAM Community Contributions March 4, 2008, 10:19
Replies: 71
Views: 14,962
Posted By gschaider
Hi Thomas! With SVN-Archive

Hi Thomas!

With SVN-Archives the browser is only good for looking at the stuff. Use the svn-command to actually "download" it.

Bernhard
Forum: OpenFOAM Community Contributions March 3, 2008, 14:18
Replies: 71
Views: 14,962
Posted By gschaider
Hi Djemal! At first: it sho

Hi Djemal!

At first: it should be possible to write 2e-2 instead of 2*pow(10.,-2). This would a) make the expression simpler and b) reduce the computation time (because 2*pow(10,-2) will be...
Forum: OpenFOAM Community Contributions March 3, 2008, 04:34
Replies: 71
Views: 14,962
Posted By gschaider
Could you please post the expr

Could you please post the expression anyway? The problem is definitly happening during the evaluation of the sqrt. On possibility to check: Let the utility calculate the expression INSIDE the sqrt...
Forum: OpenFOAM Community Contributions March 1, 2008, 08:53
Replies: 71
Views: 14,962
Posted By gschaider
What is the expression you're

What is the expression you're calculating? Is there a sqrt in it? By any chance a squareroot of a negative value? Because that is my suspicion when I look at #4 in your stacktrace
Forum: OpenFOAM Community Contributions February 27, 2008, 06:37
Replies: 71
Views: 14,962
Posted By gschaider
Hi Djemai! That's right. Th

Hi Djemai!

That's right. That version only compiles with 1.4. Get the svn-version with the command described above the file that you downloaded

Bernhard
Showing results 1 to 25 of 25

 
Forum Jump

All times are GMT -4. The time now is 19:41.