|
[Sponsors] |
![]() |
![]() |
#1 |
Member
VVqf
Join Date: Mar 2009
Location: Braunschweig
Posts: 66
Rep Power: 18 ![]() |
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. |
|
![]() |
![]() |
![]() |
![]() |
#2 |
Member
VVqf
Join Date: Mar 2009
Location: Braunschweig
Posts: 66
Rep Power: 18 ![]() |
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? |
|
![]() |
![]() |
![]() |
![]() |
#3 |
Member
VVqf
Join Date: Mar 2009
Location: Braunschweig
Posts: 66
Rep Power: 18 ![]() |
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?! |
|
![]() |
![]() |
![]() |
![]() |
#4 |
Senior Member
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,419
Rep Power: 27 ![]() |
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. |
|
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
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 |