|
[Sponsors] |
User Solver in FoamX with a new field variable |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
October 27, 2005, 09:06 |
I am testing a new solver base
|
#1 |
Member
VVqf
Join Date: Mar 2009
Location: Braunschweig
Posts: 66
Rep Power: 17 |
I am testing a new solver based on simpleFoam, and a new volScalarField is created.
My problem is I can see my new solver in the application class list, but I can't create a case with this solver, instead I got an error: class org.omg.CORBA.UNKNOWN The same error occurs when openning an existing case in FoamX, with "application myFoam;" in the file myFoam/system/controlDict. Because of this, I can't see the new Field in FoamX either. So I do it manually in the case 0 time directory, I add a file like other field variables(U,p) for the new field variable. (before this I also modified myFoam.cfg and other .cfg files and created .cfg files for the new filed variable in corresponding directories.) without using FoamX, i can compute my case with the new solver in Terminal, and when I view result with ParaView, I can see the new field variable in the the list under Display Tab. Any help is greatly appreciated. Thank you in advance. related post: http://www.cfd-online.com/OpenFOAM_D...tml?1130397871 |
|
October 27, 2005, 09:36 |
State my problem again:
1.
|
#2 |
Member
VVqf
Join Date: Mar 2009
Location: Braunschweig
Posts: 66
Rep Power: 17 |
State my problem again:
1. I want to creat a case with the new solver, killing that error. 2. I want the new field variable visulable in FoamX like U, p, epsilon ... |
|
October 28, 2005, 21:24 |
As Mattijs said the xxxFoam.cf
|
#3 |
Member
VVqf
Join Date: Mar 2009
Location: Braunschweig
Posts: 66
Rep Power: 17 |
As Mattijs said the xxxFoam.cfg in xxxFoam/FoamX has to be correct. This means, all the paths and varibles should be consistent with user's own solve's src codes, so just copying xxxFoam.cfg from a standard existing .cfg file and renaming might not be enough. One has to check it carefully, especially when error pops up.
Read xxxFoam.cfg carefully, one can know how the field variables are defined. And it is necessary to take a look at the included files. Then the way to introduce a new field varible should be a thing of patience. Study the standard solver src directory structure and all files in it. $WM_PROJECT_DIR/applications/solvers/.. I think it could help a lot. I hope I answered your questions. If anything not clear, feel free to talk to me. It will be nice to exchange our ideas. |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Variable Operating Pressure (field) | Arturo | FLUENT | 0 | April 30, 2008 16:22 |
export field variable to text file | Ramki | FLUENT | 0 | March 7, 2008 04:19 |
User Defined Variable in CFX PRE | Hamidur Rahman | CFX | 2 | September 21, 2007 15:18 |
field variable macro of the mean-x-velocity? | zt xie | FLUENT | 2 | November 15, 2005 06:48 |
Dynamic Gradient Adaption: Mulitple Field Variable | Steve | FLUENT | 0 | July 12, 2005 18:36 |