CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Programming & Development (https://www.cfd-online.com/Forums/openfoam-programming-development/)
-   -   adapting sprayDyMFoam-solver to OpenFOAM-2.2.x (https://www.cfd-online.com/Forums/openfoam-programming-development/127350-adapting-spraydymfoam-solver-openfoam-2-2-x.html)

SasaM December 9, 2013 11:12

adapting sprayDyMFoam-solver to OpenFOAM-2.2.x
 
2 Attachment(s)
Hi everyone,

as the title tells you I'm trying to adapt an existing sprayDyMFoam-solver from OpenFOAM 2.1.x to 2.2.x . As you surely know there have been some changes concerning the amount and names of Header-files in OpenFOAM, this is the reason why the 2.1.x-Version of sprayDyMFoam won't work on 2.2.x .

The changes I've done so far:
- added missing header-files
- header-files which don't exist in 2.2.x were commented out and partly replaced by 2.2.x header-files
- renamed hsEqn.H to EEqn.H for consistency reasons
- changed the content of some header-files ( pEqn.H, EEqn.H, YEqn.H etc.), because of the version differences between 2.1.x and 2.2.x
- replaced the function sources() with fvOptions()

When I tried to compile the solver some issues ocurred.
Example: sprayDyMFoam.C: (.text + 0x7a19): undefined reference to `Foam::fv::IOoptionList::IOoptionList(Foam::fvMesh const&)'
See also attached log.wmake-file.

Does anyone had the same problem or know how to fix it?
Attached you'll find the original and the adapted solver as well as the compilation log-file.

Thank you in advance.

SasaM December 20, 2013 07:14

Hi everyone,

I found the initial issue. Some libraries haven't been linked by me and some small adjustments had to be made.
I also didn't validate it yet. If there are some news i'll post them here.


All times are GMT -4. The time now is 10:03.