|
[Sponsors] |
January 23, 2020, 09:52 |
Unknown functionObject forces
|
#1 |
Member
David Andersson
Join Date: Oct 2019
Posts: 46
Rep Power: 7 |
I have for a while been working on my own functionObject (FO). I initially made a copy of the "forces" FO to my USER directory and adapted it to my needs. However, when I now try to include the old "forces" FO OpenFOAM doesn't recognize that, even though if the original files are untouched.
Does anyone know how to solve this problem? Thanks, David |
|
January 25, 2020, 07:10 |
|
#2 |
Senior Member
Michael Alletto
Join Date: Jun 2018
Location: Bremen
Posts: 616
Rep Power: 16 |
did you overwrite the typeName in your new function object or left it the same?
Code:
//- Runtime type information TypeName("forces"); If you did not change the type name this may be the reason the original function object is not recognized |
|
January 27, 2020, 04:52 |
|
#3 |
Member
David Andersson
Join Date: Oct 2019
Posts: 46
Rep Power: 7 |
Hi Michael, thank you for your reply!
I found the problem on my own. In the Make/files I had change the directory to which I compile to to "FOAM_USER_LIBBIN" but I had forgotten to change the file name so I was overwriting the libforces with my new file. When I changed that I could use the original forces function again. /David |
|
Tags |
functionobject, openfoam-6 |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Commercial meshers] converting Fluent mesh to openfoam standard mesh | deepesh | OpenFOAM Meshing & Mesh Conversion | 31 | March 29, 2017 06:59 |
[Other] How to create an MRF zone ? | aminem | OpenFOAM Meshing & Mesh Conversion | 2 | December 8, 2014 11:45 |
Thermal Comfort Simulation in STAR CCM+ | anupmu | STAR-CCM+ | 1 | February 27, 2013 15:25 |
[OpenFOAM] Saving ParaFoam views and case | sail | ParaView | 9 | November 25, 2011 16:46 |
compressible two phase flow in CFX4.4 | youngan | CFX | 0 | July 2, 2003 00:32 |