|
[Sponsors] |
February 28, 2012, 05:01 |
buoyanSimpleFoam
|
#1 |
Senior Member
Samuele Z
Join Date: Oct 2009
Location: Mozzate - Co - Italy
Posts: 520
Rep Power: 19 |
Dear all,
I am trying to create my own solver, following this tutorial. What I wanna do is to modify the buoynatSimpleFoam solver in order to make it possible to fix the value of the enthalpy (hence, of the temperature) in some cells. The point is that when I create my new folder (e.g. buoyantSimpleFoamMod) and try to compile the code (after having edited also the files in it) I get this error message: Code:
wxpmi213:/opt/openfoam201/applications/solvers/heatTransfer/buoyantSimpleFoamMod # wmake /opt/openfoam201/wmake/wmake: line 222: make: command not found /opt/openfoam201/wmake/wmake: line 223: make: command not found wmake error: file 'Make/linux64GccDPOpt/objectFiles' could not be created in /opt/openfoam201/applications/solvers/heatTransfer/buoyantSimpleFoamMod Thanks a lot, Samuele |
|
February 28, 2012, 15:50 |
|
#2 |
Member
Anja Miehe
Join Date: Dec 2009
Location: Freiberg / Germany
Posts: 48
Rep Power: 16 |
Hello Samuele,
you have to do all the comments of the tutorial in your home folder. Normally, you are not allowed to compile with wmake in /opt/... and it is not advisable. Start anew in /home/Samuele, there it should work. Have a nice evening, Anja |
|
February 28, 2012, 17:49 |
|
#3 | |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Greetings Samuele and Anja,
Anja is right: you should not use the "/opt" folder for developing experimental solvers The tutorial clearly talks about using "$WM_PROJECT_USER_DIR" as your work area. If you do not know what this variable indicates, run: Code:
echo $WM_PROJECT_USER_DIR Quote:
You only need to install the packages mentioned on the System Requirements section, for the Linux version that you are using. Best regards, Bruno
__________________
|
||
February 29, 2012, 03:39 |
|
#4 |
Senior Member
Samuele Z
Join Date: Oct 2009
Location: Mozzate - Co - Italy
Posts: 520
Rep Power: 19 |
Hi All,
and thanks for answering. I have solved the second problem, but the first one still stands, since I can not install software on my laptop. I have to ask to the IT office to do that and that's what I am gonna do asap. Thanks again. And I hope to solve this question, soon. Later I'll probably have questions about fluid dynamics and not about computer science . Thanks again, Samuele |
|
|
|