CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM Programming & Development

adapting sprayDyMFoam-solver to OpenFOAM-2.2.x

Register Blogs Members List Search Today's Posts Mark Forums Read

LinkBack Thread Tools Display Modes
Old   December 9, 2013, 12:12
Default adapting sprayDyMFoam-solver to OpenFOAM-2.2.x
New Member
Sasa Milojevic
Join Date: Dec 2013
Location: Stuttgart, Germany
Posts: 2
Rep Power: 0
SasaM is on a distinguished road
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.
Attached Files
File Type: gz sprayDyMFoam-OF-2.2.x.tar.gz (4.7 KB, 25 views)
File Type: gz sprayDyMFoam-OF-2.1.x.tar.gz (4.8 KB, 8 views)
SasaM is offline   Reply With Quote

Old   December 20, 2013, 08:14
New Member
Sasa Milojevic
Join Date: Dec 2013
Location: Stuttgart, Germany
Posts: 2
Rep Power: 0
SasaM is on a distinguished road
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.
SasaM is offline   Reply With Quote


compile, dynamic mesh, issue, sprayfoam

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
openfoam 2.2.x - mesquite 2.3.0 joegi.geo OpenFOAM Installation 3 February 27, 2017 11:20
Edit linear solver luckycfd OpenFOAM Programming & Development 32 January 24, 2014 14:28
Finally starting to explore OpenFOAM, questions on icoFoam solver... JasonG OpenFOAM Running, Solving & CFD 20 July 11, 2012 20:08
FSI solver in openFoam 1.6.x aut_iut OpenFOAM Running, Solving & CFD 1 July 14, 2010 03:38
AMG solver in Openfoam gonski Main CFD Forum 0 November 25, 2007 06:20

All times are GMT -4. The time now is 14:55.