|
[Sponsors] |
June 7, 2014, 08:12 |
|
#41 | ||
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
I disagree. This thread is about a package called simpleFunctionObjects which is not part of the OF release but of an addition called swak4Foam
Quote:
Quote:
__________________
Note: I don't use "Friend"-feature on this forum out of principle. Ah. And by the way: I'm not on Facebook either. So don't be offended if I don't accept your invitation/friend request |
|||
June 14, 2014, 10:26 |
|
#42 |
New Member
Join Date: Feb 2013
Posts: 21
Rep Power: 13 |
Thanks Bernhard. My bad, I thought simpleFunctionObjects are part of main OF distribution, not swak4Foam. Nevertheless I checked listRegisteredObjects and found the list.
However, I would also like to know which fields are written into memory, and can be used/accessed by the main openfoam functionObjects, such as probes, fieldAverages, etc. Some of my runtime post-processing functions are to be OF built-in features. |
|
June 14, 2014, 17:40 |
|
#43 | |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
Quote:
Probes for example are not in that list because they are instantiated by the probes-functionObject. They can not be accessed from outside the functionObject
__________________
Note: I don't use "Friend"-feature on this forum out of principle. Ah. And by the way: I'm not on Facebook either. So don't be offended if I don't accept your invitation/friend request |
||
June 14, 2014, 18:12 |
|
#44 |
New Member
Join Date: Feb 2013
Posts: 21
Rep Power: 13 |
Well, thanks again. I found another possibility before your reply, and that is the writeRegisteredObject. I tried it and can confirm that it generates the same list as listRegisteredObjects from swak.
I guess the next step for me is to add the fields I need to the createFields so that I can use swak on them. Huge thanks by the way for this amazing set of tools you wrote. It makes working with openfoam a bliss for a C++ illiterate user like me. |
|
June 15, 2014, 15:32 |
|
#45 | |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
Quote:
Thanks.
__________________
Note: I don't use "Friend"-feature on this forum out of principle. Ah. And by the way: I'm not on Facebook either. So don't be offended if I don't accept your invitation/friend request |
||
June 25, 2014, 09:42 |
|
#46 |
New Member
Join Date: Feb 2013
Posts: 21
Rep Power: 13 |
Sorry for the delay. I used it on OF23x. The output were similar tables only with different formatting. As I remember they contained same entries.
|
|
July 2, 2014, 19:13 |
|
#47 |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
My guess: the list of objects in the error message if you specify a non-existing object
__________________
Note: I don't use "Friend"-feature on this forum out of principle. Ah. And by the way: I'm not on Facebook either. So don't be offended if I don't accept your invitation/friend request |
|
July 31, 2014, 09:17 |
|
#48 |
Member
Ron
Join Date: Jul 2014
Location: Japan
Posts: 40
Rep Power: 12 |
Hello Bernhard,
Is it possible to write drag coefficient on the cylinder using the swak4Foam-or-functionObjects for non-newtonian fluids? |
|
July 31, 2014, 11:06 |
|
#49 |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
Of course. If you can calculate the drag force correctly
__________________
Note: I don't use "Friend"-feature on this forum out of principle. Ah. And by the way: I'm not on Facebook either. So don't be offended if I don't accept your invitation/friend request |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Variable deltaT and functionObjects | henrik | OpenFOAM Bugs | 8 | July 22, 2009 05:11 |
OF15 functionObjects do not read LESProperties for incompressible flows | aunola | OpenFOAM Bugs | 1 | September 28, 2008 18:18 |
Collection Codes OpenFoam | larry | OpenFOAM Running, Solving & CFD | 0 | July 3, 2006 18:11 |
Collection efficiency | Jen | FLUENT | 0 | November 16, 2005 11:16 |
Data output collection | simon | Main CFD Forum | 0 | September 29, 2003 10:03 |