CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

How to add an application to FoamX

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 26, 2005, 08:24
Default I am learning how to add a use
  #1
liqiangnwpu
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?
  Reply With Quote

Old   March 28, 2005, 07:41
Default Search the board for FOAMX_USE
  #2
Senior Member
 
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,419
Rep Power: 26
mattijs is on a distinguished road
Search the board for FOAMX_USER_CONFIG and you should pick up a thread discussing how to do this.

good luck,

Mattijs
mattijs is offline   Reply With Quote

Old   May 3, 2005, 13:44
Default hi, 1-to add a user defined
  #3
chafi_fatima_zohra
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
  Reply With Quote

Old   May 3, 2005, 13:49
Default Have you edited Make/files to
  #4
Senior Member
 
Join Date: Mar 2009
Posts: 854
Rep Power: 22
henry is on a distinguished road
Have you edited Make/files to correspond to the new name of the application?
henry is offline   Reply With Quote

Old   May 3, 2005, 14:03
Default hi, no, i did not made edit
  #5
chafi_fatima_zohra
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
  Reply With Quote

Old   May 3, 2005, 14:14
Default That would be a good start. I
  #6
Senior Member
 
Join Date: Mar 2009
Posts: 854
Rep Power: 22
henry is on a distinguished road
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.
henry is offline   Reply With Quote

Old   May 3, 2005, 14:20
Default hi, thank you very much for
  #7
chafi_fatima_zohra
Guest
 
Posts: n/a
hi,

thank you very much for your help

bye
  Reply With Quote

Old   May 4, 2005, 12:58
Default hi, i edited in Make/files fi
  #8
chafi_fatima_zohra
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
  Reply With Quote

Old   May 4, 2005, 13:39
Default If you want to setup FoamX for
  #9
Senior Member
 
Join Date: Mar 2009
Posts: 854
Rep Power: 22
henry is on a distinguished road
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
henry is offline   Reply With Quote

Old   May 4, 2005, 14:33
Default hi, i copied all files with e
  #10
chafi_fatima_zohra
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
  Reply With Quote

Old   May 4, 2005, 14:37
Default What is the path to the buildi
  #11
Senior Member
 
Join Date: Mar 2009
Posts: 854
Rep Power: 22
henry is on a distinguished road
What is the path to the buildinFoam.cfg file?
henry is offline   Reply With Quote

Old   May 4, 2005, 14:47
Default hi, the path is OpenFOAM-1.
  #12
chafi_fatima_zohra
Guest
 
Posts: n/a
hi,

the path is OpenFOAM-1.1/applications/utilities/preProcessing/FoamX/config/applications/inco mpressible/buildingFoam
  Reply With Quote

Old   May 4, 2005, 15:11
Default And inside that directory do y
  #13
Senior Member
 
Join Date: Mar 2009
Posts: 854
Rep Power: 22
henry is on a distinguished road
And inside that directory do you have the file buildingFoam.cfg? And in that file you have an entry

executable buildingFoam;

?
henry is offline   Reply With Quote

Old   May 4, 2005, 15:37
Default hi, yes
  #14
chafi_fatima_zohra
Guest
 
Posts: n/a
hi,

yes
  Reply With Quote

Old   May 5, 2005, 10:40
Default hi, my problem concerning t
  #15
chafi_fatima_zohra
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
  Reply With Quote

Old   May 11, 2005, 13:00
Default hi, after configuration, my n
  #16
chafi_fatima_zohra
Guest
 
Posts: n/a
hi,
after configuration, my new application not appear.

can you help me please

thank's
  Reply With Quote

Old   May 11, 2005, 13:41
Default I have no idea what you are do
  #17
Senior Member
 
Join Date: Mar 2009
Posts: 854
Rep Power: 22
henry is on a distinguished road
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.
henry is offline   Reply With Quote

Old   May 25, 2005, 02:18
Default hi, chafi fatima zohra, maybe
  #18
New Member
 
MaJianfeng
Join Date: Mar 2009
Posts: 8
Rep Power: 17
yfjma is on a distinguished road
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!!
yfjma is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Which application to use ploceus OpenFOAM Running, Solving & CFD 1 December 7, 2005 19:41
MPI Application in HPC wendy Siemens 0 May 19, 2005 01:50
application of CFD REKHA FLUENT 1 January 13, 2005 01:25
application of cfd samuel R devadoss Main CFD Forum 0 March 15, 2004 04:38
Application Example 1 omondi CFX 1 January 31, 2002 11:15


All times are GMT -4. The time now is 05:53.