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

OpenFoam 12 Adding a user application class

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 26, 2005, 19:01
Default I did as Release Notes-1.2 tel
  #1
Member
 
VVqf
Join Date: Mar 2009
Location: Braunschweig
Posts: 66
Rep Power: 17
vvqf is on a distinguished road
I did as Release Notes-1.2 tells, but can't make my own application visible in FoamX. ie. I can't creat a case with the user solver, because it is not in the application class list.

For example,
created a new case
- clone a case based on an existing case
or
- copy an existing case directory with a new case name

modify all necessary files
under caseDirecotry/system/controlDict,
"application xxxFoam"
here xxxFoam can't be the 'userFoam', otherwise error "getApplication::Invalid ..." pops up, due to the beginning mentioned reason, and xxxFoam has to be standard solver(or further, has to be pre-configured solver??).

I think this is because some .cfg file needs to be modified, so that user solvers/applications can also be included. I searched and tried but still couldn't find which one and how.

Could anyone be so kind to give me any help and information?

Thanks a lot in advance.

1.1 way

a little complainment:
window for choosing root path is fixed and too small, although the root path can be editted in the file.
vvqf is offline   Reply With Quote

Old   October 26, 2005, 19:11
Default by the way, i can compute the
  #2
Member
 
VVqf
Join Date: Mar 2009
Location: Braunschweig
Posts: 66
Rep Power: 17
vvqf is on a distinguished road
by the way, i can compute the case with actually my own userFoam, like,
userFoam <root> caseName
even xxxFoam of "application xxxFoam" in caseDirecotry/system/controlDict, is set to the similar starndard solver.
Strange...
but there's difference, is it?
vvqf is offline   Reply With Quote

Old   October 27, 2005, 03:24
Default http://www.cfd-online.com/Open
  #3
Member
 
VVqf
Join Date: Mar 2009
Location: Braunschweig
Posts: 66
Rep Power: 17
vvqf is on a distinguished road
http://www.cfd-online.com/OpenFOAM_D...tml?1128934033

Now I found myFoam in the application class list only if I used the same path structure like this:
$WM_PROJECT_USER_DIR/applications/solvers/incompressible/myFoam
(before it was $WM_PROJECT_USER_DIR/userapp/myFoam)

It is a little bit...
Well, I believe there's somewhere to change the default configuration, although might be unnecessary.

But I got another problem. I want to apply myFoam to a case:
in caseDirecotry/system/controlDict,
"application myFoam;"
When openning the case in FoamX, the error is
class.org.omg.CORBA.UNKNOWN

unknown?!
vvqf is offline   Reply With Quote

Old   October 27, 2005, 13:18
Default You need to have in your myFoa
  #4
Senior Member
 
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,419
Rep Power: 26
mattijs is on a distinguished road
You need to have in your myFoam/ directory a FoamX directory with in there myFoam.cfg file.

If FoamX detects this file it will try to load it and if it is correct the solver will be registered.
mattijs 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
Adding a user application class Rasmus Gjesing (Gjesing) OpenFOAM Pre-Processing 57 February 3, 2010 03:45
MPI profiling OpenFOAM damBreak3D application mellanoxuser OpenFOAM Pre-Processing 0 April 13, 2008 23:15
MPI profiling OpenFOAM damBreak3D application mellanoxuser OpenFOAM Running, Solving & CFD 0 April 13, 2008 23:04
Is OpenFoam Appropriate for this application rroberts OpenFOAM 3 March 27, 2006 12:49
Adding new class in version 12 billy OpenFOAM Pre-Processing 1 October 10, 2005 04:47


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