|
[Sponsors] |
libsimpleFunctionObjects: functionObject name |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
June 26, 2013, 09:10 |
libsimpleFunctionObjects: functionObject name
|
#1 |
New Member
PA
Join Date: Mar 2009
Posts: 25
Rep Power: 17 |
Hello,
I need to calculate massflow at certain patches for which I use libsimpleFunctionObjects.so. However, when I specify the function object to be e.g. _massflow { type patchMassFlow; functionObjectLibs ("libsimpleFunctionObjects.so"); verbose true; patches ( inflow ami_21_30 ami_40_31 outflow ami_31_40 ami_30_21 ); factor 3600.0; } the data will be saved in a folder named patchMassFlows__massflow. Is there a way to specify that patchMassFlows_ should not be included in the name? It might seem to be a small problem but my postprocessing script relies on every functionObject to be saved under _<NAME>. Regards Per
__________________
Regards, Per |
|
June 26, 2013, 12:37 |
|
#2 | |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
Quote:
Short answer: No
__________________
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 27, 2013, 03:16 |
|
#3 |
New Member
PA
Join Date: Mar 2009
Posts: 25
Rep Power: 17 |
Hi Bernhard,
Thank you for your reply. I don't like to modify the source code unless absolutely necessary so I guess for now I will modify my postprocessing scripts slightly. Is there any particular reason for adding the typename in front of the FO name as this doesn't seem to be standard OF behaviour (at least in 2.1)? Or have I misunderstood something here? Thanks again...
__________________
Regards, Per |
|
June 27, 2013, 07:20 |
|
#4 | |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
Quote:
- Scripts. Mine say "Ah. 'patchMassFlow_*'. I know how to handle that" - It is easier to remove files. "rm patch*" throws away all the patch-stuff. I don't have to look around "Err. 'fooFlow' is what? Ah. patchMassFlow. OK. Let it go" So basically the types were added to the directory names because I think that redundant information makes life easier
__________________
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 |
||
Tags |
functionobject, massflow |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Create registered object at runtime using a functionObject | CedricVH | OpenFOAM Programming & Development | 21 | November 28, 2012 06:04 |
runTime out of scope in functionObject | Sune | OpenFOAM Programming & Development | 2 | September 26, 2012 03:11 |
functionObject file format | akidess | OpenFOAM Post-Processing | 7 | February 24, 2012 09:51 |
Access particle data from functionObject | CedricVH | OpenFOAM | 10 | July 21, 2011 13:03 |
Process control functionObject | Vetter | OpenFOAM | 4 | January 14, 2011 11:38 |