I am learning how to add a use
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? |
Search the board for FOAMX_USE
Search the board for FOAMX_USER_CONFIG and you should pick up a thread discussing how to do this.
good luck, Mattijs |
hi,
1-to add a user defined
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 |
Have you edited Make/files to
Have you edited Make/files to correspond to the new name of the application?
|
hi,
no, i did not made edit
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 |
That would be a good start. I
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.
|
hi,
thank you very much for
hi,
thank you very much for your help bye |
hi,
i edited in Make/files fi
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 |
If you want to setup FoamX for
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
|
hi,
i copied all files with e
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 |
What is the path to the buildi
What is the path to the buildinFoam.cfg file?
|
hi,
the path is OpenFOAM-1.
hi,
the path is OpenFOAM-1.1/applications/utilities/preProcessing/FoamX/config/applications/inco mpressible/buildingFoam |
And inside that directory do y
And inside that directory do you have the file buildingFoam.cfg? And in that file you have an entry
executable buildingFoam; ? |
hi,
yes
hi,
yes |
hi,
my problem concerning t
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 |
hi,
after configuration, my n
hi,
after configuration, my new application not appear. can you help me please thank's |
I have no idea what you are do
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.
|
hi, chafi fatima zohra, maybe
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!! |
All times are GMT -4. The time now is 15:22. |