Customized fvOptions-class for momentum source: no rule to make target
Another one
Quote:
Dear Foamers,
I would like to create my own fvOptions-class to introduce a momentum source term. (Unfortunately, none of the existing classes help me.)
Approach:
I copied the 'actuationDiskSource'-folder,
I renamed the files and names inside from 'actuationDisk...' to 'newSource...',
I added the 'newSource.C'-file in '$FOAM_SRC/fvOptions/Make/files',
then I tried to compile it with 'wmake' and 'wmake libso'.
Result:
All files which exist for e.g. 'actuationDiskSource' are created for 'newSource' too, like in 'platforms/linux.../...'.
BUT:
It doesn't work.
-1.) Compiling message:
(loosely translated from german message)
Why?
-2.) Running simpleFoam with a 'fvOptions'-file (adapted from 'actuationDiskSource') returns an error, that the type is not known:
Why...?
Does anyone has an idea? That would be very cool!!! =)
I would like to create my own fvOptions-class to introduce a momentum source term. (Unfortunately, none of the existing classes help me.)
Approach:
I copied the 'actuationDiskSource'-folder,
I renamed the files and names inside from 'actuationDisk...' to 'newSource...',
I added the 'newSource.C'-file in '$FOAM_SRC/fvOptions/Make/files',
then I tried to compile it with 'wmake' and 'wmake libso'.
Result:
All files which exist for e.g. 'actuationDiskSource' are created for 'newSource' too, like in 'platforms/linux.../...'.
BUT:
It doesn't work.
-1.) Compiling message:
Code:
... no rule to make target ».../OpenFOAM-3.0.0/platforms/linux64GccDPInt32Opt/src/fvOptions/new.dep« ... required from ».../OpenFOAM-3.0.0/platforms/linux64GccDPInt32Opt/src/fvOptions/new.o« ...
Why?
-2.) Running simpleFoam with a 'fvOptions'-file (adapted from 'actuationDiskSource') returns an error, that the type is not known:
Code:
--> FOAM FATAL ERROR: Unknown Model type newSource
Does anyone has an idea? That would be very cool!!! =)
Total Comments 0