CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Programming & Development

Problem with compiling the custom solver evapVOFHardt

Register Blogs Community New Posts Updated Threads Search

Like Tree2Likes
  • 1 Post By wyldckat
  • 1 Post By lukasz0004

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 19, 2014, 15:45
Default Problem with compiling the custom solver evapVOFHardt
  #1
New Member
 
Lukasz
Join Date: Feb 2014
Posts: 5
Rep Power: 12
lukasz0004 is on a distinguished road
I'd like to run example case which is at this website:

http://www.ttd.tu-darmstadt.de/forsc...vofhard.en.jsp

In instruction that you can find in tar package in the above website, there are described steps how to run example case:

After compiling the solver evapVOFHardt and the initialization utility
initField the following steps have to be carried out:
• create mesh with blockMesh
• initialize droplet with ../initField/initField
• decompose computational domain (total mesh size is 80,000 cells) with decomposePar
• run solver with mpirun -np 4 ../evapVOFHardt/evapVOFHardt -parallel > log

I've never ever compiled solvers in OPENFoam, could you help me, how to do that?

I've tried to do it like it was written at some website:
http://www.csc.fi/english/research/s...penfoam/modsol

But I got such errors:
could not open file dynamicFvMesh.H for source file evapVOFHardt.C due to No such file or directory
could not open file dynamicRefineFvMesh.H for source file evapVOFHardt.C due to No such file or directory
could not open file twoPhaseMixture.H for source file evapVOFHardt.C due to No such file or directory
could not open file alphaContactAngleFvPatchScalarField.H for source file evapVOFHardt.C due to No such file or directory
could not open file createDynamicFvMesh.H for source file evapVOFHardt.C due to No such file or directory
could not open file meshCourantNo.H for source file evapVOFHardt.C due to No such file or directory

Does anyone knows how to compile it, and how initialize droplet?
I have OPENFoam v2.3.0
lukasz0004 is offline   Reply With Quote

Old   May 20, 2014, 01:46
Default Problem with new solver
  #2
Senior Member
 
Mohammad Shakil Ahmmed
Join Date: Oct 2012
Location: AUS
Posts: 137
Rep Power: 15
ahmmedshakil is on a distinguished road
Hi,
Let's see what errors OpenFOAM prints out:
could not open file dynamicFvMesh.H for source file evapVOFHardt.C due to No such file or directory
......................


Please check the Make -> Options file. Here in the option file you have to give the link of the library class. Just check whether the correct path of the src is given. That's it!!


#shakil
ahmmedshakil is offline   Reply With Quote

Old   May 26, 2014, 11:17
Default
  #3
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Greetings to all!

I was curious about this solver and I've made some adjustments to the building structure and then ported to OpenFOAM 2.2 and 2.3 as well. The resulting code and ports have been uploaded to this repository: https://github.com/wyldckat/evapVOFHardt - Build instructions and a bit more auxiliary information can be found there as well.

WARNING: I have not run the example case with either one of the OpenFOAM versions. I only did the adaptation and porting of the code and case. In other words: it seems to work, but I don't know if the results are the same with each version of OpenFOAM.


@lukasz: The original build problem is related to 2 issues:
  1. The original source code was designed to work with OpenFOAM 2.1.0, not 2.3.0. This is briefly explained in the PDF file provided with the source code. As OpenFOAM keeps evolving from version to version, it's normal that updates have to be done to older custom code.
  2. The original source code was still using a customized "dynamicFvMesh" library, which normally OpenFOAM users don't have . By switching to using the normal library, the build occurs without problems.

edit: I forgot to mention: the droplet is created by the utility "initField".

Best regards,
Bruno
snak likes this.
__________________

Last edited by wyldckat; May 26, 2014 at 11:20. Reason: see "edit:"
wyldckat is offline   Reply With Quote

Old   March 24, 2015, 20:31
Default
  #4
Member
 
james wilson
Join Date: Aug 2014
Location: Orlando, Fl
Posts: 39
Rep Power: 12
jameswilson620 is on a distinguished road
check this post out: http://www.cfd-online.com/Forums/mai...tml#post538055
jameswilson620 is offline   Reply With Quote

Old   March 25, 2015, 02:21
Default
  #5
New Member
 
Lukasz
Join Date: Feb 2014
Posts: 5
Rep Power: 12
lukasz0004 is on a distinguished road
I forgot to mention, but I installed 2.1.0 and succed in performing few simple simulations. Thanks Bruno for the help.
wyldckat likes this.
lukasz0004 is offline   Reply With Quote

Old   March 8, 2016, 10:33
Default
  #6
Senior Member
 
Join Date: May 2011
Posts: 231
Rep Power: 16
Kanarya is on a distinguished road
Hi Bruno,

I have simple pipe and I would like to run the evapVOFHard solver...
But i could not find appropriate inlet and outlet BC for psi0 and alphaS
Can you help me?
thanks in advance!


Quote:
Originally Posted by wyldckat View Post
Greetings to all!

I was curious about this solver and I've made some adjustments to the building structure and then ported to OpenFOAM 2.2 and 2.3 as well. The resulting code and ports have been uploaded to this repository: https://github.com/wyldckat/evapVOFHardt - Build instructions and a bit more auxiliary information can be found there as well.

WARNING: I have not run the example case with either one of the OpenFOAM versions. I only did the adaptation and porting of the code and case. In other words: it seems to work, but I don't know if the results are the same with each version of OpenFOAM.


@lukasz: The original build problem is related to 2 issues:
  1. The original source code was designed to work with OpenFOAM 2.1.0, not 2.3.0. This is briefly explained in the PDF file provided with the source code. As OpenFOAM keeps evolving from version to version, it's normal that updates have to be done to older custom code.
  2. The original source code was still using a customized "dynamicFvMesh" library, which normally OpenFOAM users don't have . By switching to using the normal library, the build occurs without problems.

edit: I forgot to mention: the droplet is created by the utility "initField".

Best regards,
Bruno
Kanarya is offline   Reply With Quote

Old   March 13, 2016, 15:04
Default
  #7
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Quote:
Originally Posted by Kanarya View Post
I have simple pipe and I would like to run the evapVOFHard solver...
But i could not find appropriate inlet and outlet BC for psi0 and alphaS
Quick comment: Please follow the instructions given here: http://www.cfd-online.com/Forums/ope...-get-help.html - otherwise I cannot spend several hours exchanging messages asking you what exactly what you are doing or have already tried to do.
__________________
wyldckat is offline   Reply With Quote

Reply


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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Forcing a solver to use your custom library. cdunn6754 OpenFOAM Programming & Development 0 March 30, 2017 17:05
The problem of Stiff Chemistry Solver in Multiphase model shenzhou1987 FLUENT 1 January 11, 2016 03:52
solver compilation problem, /bin/linux64GccDPOpt directory empty arnaud6 OpenFOAM Running, Solving & CFD 0 July 25, 2013 11:48
Divergence error in AMG solver in axisymmetric problem. gan1990 FLUENT 3 June 23, 2013 03:24
Problem in Compiling the solver m.maneshi OpenFOAM Running, Solving & CFD 4 November 3, 2010 03:07


All times are GMT -4. The time now is 23:59.