CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Pre-Processing

A doubt

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 26, 2005, 03:44
Default Hi, I'm starting to study ho
  #1
Alberto Passalacqua (Alberto)
Guest
 
Posts: n/a
Hi,
I'm starting to study how to write solvers using OpenFOAM.
Will my solver be available under FoamX, like icoFoam and others, or will I have to configure it manually?

Thanks in advance,
Alberto
  Reply With Quote

Old   January 26, 2005, 05:06
Default Hello Alberto, you will ha
  #2
Mattijs Janssens (Mattijs)
Guest
 
Posts: n/a
Hello Alberto,

you will have to write configuration files (.cfg) yourself but that is fairly straightforward.

Take the config file (under $FOAMX_SYSTEM_CONFIG) of the application that behaves most like yours. Say I have written myFoam which is almost like icoFoam.

Take

$FOAMX_SYSTEM_CONFIG/applications/incompressible/icoFoam

and copy it to

$FOAMX_USER_CONFIG/applications/incompressible/myFoam

In there move the icoFoam.cfg to myFoam.cfg and make your changes.

Now create a case (right click on the root directory in the case browser) and voila you will have myFoam to choose from.
  Reply With Quote

Old   January 26, 2005, 05:26
Default Thank you Mattijs. Regards
  #3
Alberto Passalacqua (Alberto)
Guest
 
Posts: n/a
Thank you Mattijs.

Regards,
Alberto
  Reply With Quote

Old   November 27, 2006, 06:51
Default Hej, I have problems with a
  #4
mss
Guest
 
Posts: n/a
Hej,

I have problems with adding a user application class.
When typing "echo $FOAM_USER_CONFIG" I just receive a empty line as
answer....?
Also if I type $FOAMX_SYSTEM_CONFIG/applications/incompressible/icoFoam
I get: No such file or directory

(I have OpenFoam solvers in the: OpenFOAM/OpenFOAM-1.3/applications/solvers)

What I should do to add my solver and in which path I should put it?

thank you,
Rita
  Reply With Quote

Old   November 27, 2006, 13:21
Default Have a look at the (just updat
  #5
Senior Member
 
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,419
Rep Power: 26
mattijs is on a distinguished road
Have a look at the (just updated)

http://openfoamwiki.net/index.php/Ho...olver_to_foamX
mattijs is offline   Reply With Quote

Old   November 28, 2006, 09:22
Default Hej, Thank you for the link.
  #6
mss
Guest
 
Posts: n/a
Hej,
Thank you for the link. Now I can choose my class in FoamX.
I have one question more:
After I did this changes as you sad. I wanted to recompile .C file.... why it gives error? (I didn't make changes, just name of files (.cfg and .C))

thank u for help.
  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
Doubt Rishikesh FLUENT 0 February 24, 2009 03:32
doubt in B.C student Main CFD Forum 5 November 23, 2008 02:40
Doubt New User FLUENT 2 July 11, 2008 23:50
Doubt Mukund FLUENT 4 August 4, 2004 11:28
a doubt G.Balakrishnan FLUENT 0 November 27, 2000 01:48


All times are GMT -4. The time now is 20:18.