|
[Sponsors] |
March 26, 2005, 09:24 |
I am learning how to add a use
|
#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? |
|
March 28, 2005, 08:41 |
Search the board for FOAMX_USE
|
#2 |
Senior Member
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,419
Rep Power: 26 |
Search the board for FOAMX_USER_CONFIG and you should pick up a thread discussing how to do this.
good luck, Mattijs |
|
May 3, 2005, 14:44 |
hi,
1-to add a user defined
|
#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 |
|
May 3, 2005, 14:49 |
Have you edited Make/files to
|
#4 |
Senior Member
Join Date: Mar 2009
Posts: 854
Rep Power: 22 |
Have you edited Make/files to correspond to the new name of the application?
|
|
May 3, 2005, 15:03 |
hi,
no, i did not made edit
|
#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 |
|
May 3, 2005, 15:14 |
That would be a good start. I
|
#6 |
Senior Member
Join Date: Mar 2009
Posts: 854
Rep Power: 22 |
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.
|
|
May 3, 2005, 15:20 |
hi,
thank you very much for
|
#7 |
Guest
Posts: n/a
|
hi,
thank you very much for your help bye |
|
May 4, 2005, 13:58 |
hi,
i edited in Make/files fi
|
#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 |
|
May 4, 2005, 14:39 |
If you want to setup FoamX for
|
#9 |
Senior Member
Join Date: Mar 2009
Posts: 854
Rep Power: 22 |
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
|
|
May 4, 2005, 15:33 |
hi,
i copied all files with e
|
#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 |
|
May 4, 2005, 15:37 |
What is the path to the buildi
|
#11 |
Senior Member
Join Date: Mar 2009
Posts: 854
Rep Power: 22 |
What is the path to the buildinFoam.cfg file?
|
|
May 4, 2005, 15:47 |
hi,
the path is OpenFOAM-1.
|
#12 |
Guest
Posts: n/a
|
hi,
the path is OpenFOAM-1.1/applications/utilities/preProcessing/FoamX/config/applications/inco mpressible/buildingFoam |
|
May 4, 2005, 16:11 |
And inside that directory do y
|
#13 |
Senior Member
Join Date: Mar 2009
Posts: 854
Rep Power: 22 |
And inside that directory do you have the file buildingFoam.cfg? And in that file you have an entry
executable buildingFoam; ? |
|
May 4, 2005, 16:37 |
hi,
yes
|
#14 |
Guest
Posts: n/a
|
hi,
yes |
|
May 5, 2005, 11:40 |
hi,
my problem concerning t
|
#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 |
|
May 11, 2005, 14:00 |
hi,
after configuration, my n
|
#16 |
Guest
Posts: n/a
|
hi,
after configuration, my new application not appear. can you help me please thank's |
|
May 11, 2005, 14:41 |
I have no idea what you are do
|
#17 |
Senior Member
Join Date: Mar 2009
Posts: 854
Rep Power: 22 |
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.
|
|
May 25, 2005, 03:18 |
hi, chafi fatima zohra, maybe
|
#18 |
New Member
MaJianfeng
Join Date: Mar 2009
Posts: 8
Rep Power: 17 |
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!! |
|
|
|
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 |