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

A doubt

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   January 26, 2005, 04: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, 06: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, 06: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, 07: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, 14:21
Default Have a look at the (just updat
  #5
Super Moderator
 
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,416
Rep Power: 16
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, 10: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

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Doubt Rishikesh FLUENT 0 February 24, 2009 04:32
doubt in B.C student Main CFD Forum 5 November 23, 2008 03: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 02:48


All times are GMT -4. The time now is 19:22.