|
[Sponsors] |
July 25, 2017, 03:27 |
error in compling newsolver for interFoam
|
#1 |
Senior Member
Nguyen Duy Trong
Join Date: Apr 2014
Posts: 124
Rep Power: 12 |
Hi everyone,
It is great if someone could help me on the error as in following figure. I declare a new variables and compile it. However, it shows errors like these. Could you please help me? Thanks |
|
July 25, 2017, 12:04 |
|
#2 |
Senior Member
Bobby
Join Date: Oct 2012
Location: Michigan
Posts: 454
Rep Power: 15 |
Hey,
Its so hard for me to follow from this figure, can you describe what file did you change from primary interfoam and how? |
|
July 25, 2017, 13:36 |
|
#3 | |
Senior Member
Nguyen Duy Trong
Join Date: Apr 2014
Posts: 124
Rep Power: 12 |
Quote:
Thank you for your looking in my problem. I am trying to build a couple level set vs vof methods (CLSVOF) to get new solver based on interFoam and also based on suggestions of Mr. Sankar http://www.tfd.chalmers.se/~hani/kur...ankarMenon.pdf In his code, he built new solver based on OpenFoam v2.3. I am using his declarations to make a new solver based on Foam v4.1. However, my code could not compile as you see in figure. I know that this is not simple by copy code from old version to new one. However, whenever I declare my variable, it alway shows errors like this. Could you please help me? Thanks |
||
July 25, 2017, 18:37 |
|
#4 |
Senior Member
Bobby
Join Date: Oct 2012
Location: Michigan
Posts: 454
Rep Power: 15 |
Hey
Now, I have better understanding. I took a look at the file you uploaded. The best idea in these situations when you want to implement some modifications into new versions of OpenFOAM from previous ones is trying to be aware of template changes. I mean for example, there are minor changes in syntaxes, that affects your compilation. first try to find samples of codes similar to what you want to add in your version and make your implementation format compatible with that. Good Luck |
|
July 28, 2017, 22:57 |
|
#5 | |
Senior Member
Nguyen Duy Trong
Join Date: Apr 2014
Posts: 124
Rep Power: 12 |
Quote:
I am facing a new error came from OpenFoam in box v17.06. The error is class Foam: Ioobject has no member name 'typeHeaderOk' Do you know the reason and the way to overcome it? Thanks |
||
August 1, 2017, 13:13 |
|
#6 |
Member
Vu
Join Date: Nov 2016
Posts: 42
Rep Power: 9 |
Hi Trong,
Have you fixed your problem yet? If not could you please upload your files that you've changed? I'd like to give you a hand ! |
|
August 4, 2017, 02:20 |
|
#7 | |
Senior Member
Nguyen Duy Trong
Join Date: Apr 2014
Posts: 124
Rep Power: 12 |
Quote:
I could not fix problem, could you please help me? I think it is better if we contact via email. Please give me your email or contact me at address: ndtrong@hotmail.com or ndtrong.khtn@gmail.com |
||
|
|