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

User Solver in FoamX with a new field variable

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 27, 2005, 08:06
Default I am testing a new solver base
  #1
Member
 
VVqf
Join Date: Mar 2009
Location: Braunschweig
Posts: 66
Rep Power: 17
vvqf is on a distinguished road
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
vvqf is offline   Reply With Quote

Old   October 27, 2005, 08:36
Default State my problem again: 1.
  #2
Member
 
VVqf
Join Date: Mar 2009
Location: Braunschweig
Posts: 66
Rep Power: 17
vvqf is on a distinguished road
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 ...
vvqf is offline   Reply With Quote

Old   October 28, 2005, 20:24
Default As Mattijs said the xxxFoam.cf
  #3
Member
 
VVqf
Join Date: Mar 2009
Location: Braunschweig
Posts: 66
Rep Power: 17
vvqf is on a distinguished road
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.
vvqf is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Variable Operating Pressure (field) Arturo FLUENT 0 April 30, 2008 15:22
export field variable to text file Ramki FLUENT 0 March 7, 2008 03:19
User Defined Variable in CFX PRE Hamidur Rahman CFX 2 September 21, 2007 14:18
field variable macro of the mean-x-velocity? zt xie FLUENT 2 November 15, 2005 05:48
Dynamic Gradient Adaption: Mulitple Field Variable Steve FLUENT 0 July 12, 2005 17:36


All times are GMT -4. The time now is 15:36.