|
[Sponsors] |
Standard InterDyMFoam doesn't work after modifying interFoam |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
September 23, 2016, 06:21 |
Standard InterDyMFoam doesn't work after modifying interFoam
|
#1 |
New Member
Helvines Aquino
Join Date: Aug 2016
Posts: 13
Rep Power: 10 |
Greetings to all FOAMers,
Recently, I tried to modified interFoam by adding temperature transport equation just like myinterfoamdiabatic by Qingming Liu with a few modification. http://www.tfd.chalmers.se/~hani/kur...ingmingLiu.pdf I used user directory for both the new library and the new solver. The modified one works very well. However, when I tried to run the original interDyMFoam, the following error appeared: PHP Code:
Is there anyone who has experienced this problem? How can we move back to the standard OpenFOAM source library directory, after using user source library directory of another solver? I am a newbie with OF and I have already tried to google this problem, but there is no a good result. I'm using OD 2.3.0 in Ubuntu 12.04. Any kind of help is very appreciated. Thank you, Hicha |
|
September 23, 2016, 09:52 |
|
#2 |
Senior Member
Join Date: Sep 2013
Posts: 353
Rep Power: 21 |
I think you made the following mistake. You compiled your new solver with the same name. You have basically overwritten your current solver
Inside make/files change Code:
interFoam.C EXE = $(FOAM_APPBIN)/interFoam Code:
myInterFoam.C EXE = $(FOAM_USER_APPBIN)/myInterFoam |
|
September 23, 2016, 10:08 |
|
#3 |
New Member
Helvines Aquino
Join Date: Aug 2016
Posts: 13
Rep Power: 10 |
hello Bloerb,
Thanks for your answer. However, I don't have any problem with the new solver. The failed one is the original version in OpenFoam-2.3.0 directory which I didn't do any changes. I used user-2.3.0 directory for the new solver. Just now, I realized that not only interDyMFoam, the standard solver of interFoam doesn't work as well. |
|
September 23, 2016, 15:59 |
|
#4 |
Senior Member
Join Date: Sep 2013
Posts: 353
Rep Power: 21 |
Yes and if you give your solver the same name that still applies. The easy way to check is to go inside your user directory ($FOAM_USER_APPBIN) and remove the solver. It should be in the platforms/..../bin folder. After that open a new terminal and check again.
|
|
September 26, 2016, 07:26 |
|
#5 | |
New Member
Helvines Aquino
Join Date: Aug 2016
Posts: 13
Rep Power: 10 |
Quote:
I solved the problem by compile again the library in main directory and it kind of work for me. Anyway, thank you for your kind answer. I wouldn't realize if you didn't mention about the platform directory in the user directory. |
||
January 5, 2017, 17:34 |
|
#6 |
New Member
CFDlover
Join Date: Nov 2015
Posts: 5
Rep Power: 11 |
Hi Hicha,
Could you please elaborate a little more since i am also facing the same problem now. Regards, |
|
January 5, 2017, 17:35 |
|
#7 | |
New Member
CFDlover
Join Date: Nov 2015
Posts: 5
Rep Power: 11 |
Quote:
Could you please elaborate a little more since i am also facing the same problem now. Regards, |
||
January 5, 2017, 23:47 |
|
#8 |
New Member
Helvines Aquino
Join Date: Aug 2016
Posts: 13
Rep Power: 10 |
Hi genshih.
Would you tell me more detail of your problem? |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
reconstructPar does not work in interDyMFoam | ageorg | OpenFOAM Post-Processing | 4 | April 15, 2016 14:25 |
OF 2.0.0: Residual control does not work in interFoam | LarsPT | OpenFOAM Running, Solving & CFD | 14 | April 10, 2016 15:26 |
strange curvature with interFoam (comparison with Brackbill work) | duongquaphim | OpenFOAM Running, Solving & CFD | 23 | July 25, 2013 02:03 |
Does PISO algorithm work with interfoam in openFOAM 2.1.0? | Krishna Sandeep | OpenFOAM Running, Solving & CFD | 3 | June 14, 2012 02:32 |
ATTENTION! Reliability problems in CFX 5.7 | Joseph | CFX | 14 | April 20, 2010 16:45 |