|
[Sponsors] | |||||
|
|
|
#1 |
|
Guest
Posts: n/a
|
I am learning how to add a user defined application, and I copied the dielseFoam in /application/ and change the file names to MyFoam and compiled it successfully,the path is set as follows:
EXE= $(FOAM_APPBIN)/MyFoam but when run FoamX after that, I can not find this application solver in the standard solver list in FoamX, what should/can do to add it to the standard application list? |
|
|
||
|
|
|
#2 |
|
Senior Member
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,419
Rep Power: 27 ![]() |
Search the board for FOAMX_USER_CONFIG and you should pick up a thread discussing how to do this.
good luck, Mattijs |
|
|
|
|
|
|
|
|
#3 |
|
Guest
Posts: n/a
|
hi,
1-to add a user defined application, i copied the icoFoam in /application/ and change the file name to buildingFoam , but when i compiled it, the path is set as follows: EXE=$(FOAM_APPBIN)/icoFoam why? because , i think that when compilation is made successfully, the true path is set as follows: EXE=$(FOAM_APPBIN)/buildingFoam can you explain me where is a problem 2- i must rename icoFoam.C to buildingFoam.C?(when i do this the code does not compile) thank you |
|
|
||
|
|
|
#4 |
|
Senior Member
Join Date: Mar 2009
Posts: 854
Rep Power: 23 ![]() |
Have you edited Make/files to correspond to the new name of the application?
|
|
|
|
|
|
|
|
|
#5 |
|
Guest
Posts: n/a
|
hi,
no, i did not made edition in Make/file. then, i must edit Make/file and change $(FOAM_APPBIN)/icoFoam to $(FOAM_APPBIN)/buildingFoam? I must remove the expression icoFoam and replace it by buildingFoam? thank you |
|
|
||
|
|
|
#6 |
|
Senior Member
Join Date: Mar 2009
Posts: 854
Rep Power: 23 ![]() |
That would be a good start. It would also be a good idea to use FOAM_USER_APPBIN rather than FOAM_APPBIN. By the way all this is covered in UserGuide.pdf which is supplied with the release and is also available from the web-site.
|
|
|
|
|
|
|
|
|
#7 |
|
Guest
Posts: n/a
|
hi,
thank you very much for your help bye |
|
|
||
|
|
|
#8 |
|
Guest
Posts: n/a
|
hi,
i edited in Make/files file : EXE=$FOAM_USER_APPBIN/buildingFoam (note: buildingFoam is my application) but when i do runFoamX, I can not find this application solver in the standard solver list in FoamX can you explain me please where is the procedure to add it in standard solver list? thank you |
|
|
||
|
|
|
#9 |
|
Senior Member
Join Date: Mar 2009
Posts: 854
Rep Power: 23 ![]() |
If you want to setup FoamX for your new solver you will have to create configuration files for it. Take a look at the configuration files for the standard applications in OpenFOAM-1.1/applications/utilities/preProcessing/FoamX/config/applications
|
|
|
|
|
|
|
|
|
#10 |
|
Guest
Posts: n/a
|
hi,
i copied all files with extension .cfg from icoFoam to buildingFoam and replaced icoFoam expression by buildinFoam ,then configuration files have been created, but buildingFoam solver not appear when runing FoamX. why? thank you |
|
|
||
|
|
|
#11 |
|
Senior Member
Join Date: Mar 2009
Posts: 854
Rep Power: 23 ![]() |
What is the path to the buildinFoam.cfg file?
|
|
|
|
|
|
|
|
|
#12 |
|
Guest
Posts: n/a
|
hi,
the path is OpenFOAM-1.1/applications/utilities/preProcessing/FoamX/config/applications/inco mpressible/buildingFoam |
|
|
||
|
|
|
#13 |
|
Senior Member
Join Date: Mar 2009
Posts: 854
Rep Power: 23 ![]() |
And inside that directory do you have the file buildingFoam.cfg? And in that file you have an entry
executable buildingFoam; ? |
|
|
|
|
|
|
|
|
#14 |
|
Guest
Posts: n/a
|
hi,
yes |
|
|
||
|
|
|
#15 |
|
Guest
Posts: n/a
|
hi,
my problem concerning to add my new application in FoamX is not resolved and i don't know why? i configured all files , i have buildingFoam.cfg file and in that file, i have executable buildingFoam. can you help me please? thank's |
|
|
||
|
|
|
#16 |
|
Guest
Posts: n/a
|
hi,
after configuration, my new application not appear. can you help me please thank's |
|
|
||
|
|
|
#17 |
|
Senior Member
Join Date: Mar 2009
Posts: 854
Rep Power: 23 ![]() |
I have no idea what you are doing wrong and I haven't got any spare time right now to investigate because I am busy preparing the next release, perhaps someone else can help you.
|
|
|
|
|
|
|
|
|
#18 |
|
New Member
MaJianfeng
Join Date: Mar 2009
Posts: 8
Rep Power: 18 ![]() |
hi, chafi fatima zohra, maybe you can solve the problem as followings:
1. find the controlDic file in the path home/OpenFOAM/OpenFOAM-1.1/.OpenFOAM-1.1/ 2. add the following sentence to the file "$FOAM_RUN/tutorials/buildinFoam" Good Luck!! |
|
|
|
|
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Which application to use | ploceus | OpenFOAM Running, Solving & CFD | 1 | December 7, 2005 20:41 |
| MPI Application in HPC | wendy | Siemens | 0 | May 19, 2005 02:50 |
| application of CFD | REKHA | FLUENT | 1 | January 13, 2005 02:25 |
| application of cfd | samuel R devadoss | Main CFD Forum | 0 | March 15, 2004 05:38 |
| Application Example 1 | omondi | CFX | 1 | January 31, 2002 12:15 |