|
[Sponsors] |
![]() |
![]() |
#1 |
Member
Efimenko Evgenii
Join Date: Mar 2009
Location: Nizhnij Novgorod, Russia
Posts: 52
Rep Power: 17 ![]() |
Hi, everyone.
My question is about new case. I wrote a new solver, compiled it with wmake, it works correctly. I copied configuration files from SYSTEM folder to USER folder, changed all configuration files to my solver configuration files keeping structure.(as it was described in Guides and some posts here). Then I create a new case. If I don't change application class and it remains for example "icoFoam" it works, it really does. But in case browser it creates fields U and p instead of E and H I'm using in my solver. And if I change it, I receive message "invalid class application". Should I register my solver somewhere else? I understood (viewing some posts) that some people've faced this problem, but I still don't have clearance if it was succesfully solved. |
|
![]() |
![]() |
![]() |
![]() |
#2 |
Senior Member
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,419
Rep Power: 26 ![]() |
icoFoam.cfg (or one of the files it pulls in) specifies that it needs U,p. My guess is that your configuration files haven't been adapted correctly or haven't been read in.
When you create a new case and you have the pulldown for the application type does it show your new solver? If not it hasn't read in your config files. I think it scans $WM_PROJECT_USER_DIR/applications/solvers for new solvers and $WM_PROJECT_USER_DIR/applications/utilities for new utilities. |
|
![]() |
![]() |
![]() |
![]() |
#3 |
Member
VVqf
Join Date: Mar 2009
Location: Braunschweig
Posts: 66
Rep Power: 17 ![]() |
Hi, Efimenko Evgenii,
you can change the .gif file? I mean have you substituted gif pictures for U and p with E and H ? If so, could you please tell me: 1. where do the "iconURL" directory lie? I can't find it. 2. Are there any requirements for the gif picture file, such as size? Thanks. |
|
![]() |
![]() |
![]() |
![]() |
#4 |
Member
Efimenko Evgenii
Join Date: Mar 2009
Location: Nizhnij Novgorod, Russia
Posts: 52
Rep Power: 17 ![]() |
Hi, Mattijs Janssens.
I've tried to put my .cfg files to $WM_PROJECT_USER_DIR/applications/solvers but it still don't see it. What should I do? I don't have any thoughts about it. |
|
![]() |
![]() |
![]() |
![]() |
#5 |
Senior Member
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,419
Rep Power: 26 ![]() |
FoamX will scan for
XXX/FoamX/XXX.cfg starting under $FOAM_SOLVERS and $WM_PROJECT_USER_DIR/applications/solvers |
|
![]() |
![]() |
![]() |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
New BC for the case | ivanyao | OpenFOAM Running, Solving & CFD | 1 | October 29, 2008 05:04 |
Help! Should I use LES in this case. Thanks. | Feng | FLUENT | 4 | April 25, 2008 18:04 |
Cloning a case or creating a new case for 16 processes | mellanoxuser | OpenFOAM Running, Solving & CFD | 0 | February 8, 2008 17:52 |
Problem seeing new case in case browser | alan_fergus | OpenFOAM Pre-Processing | 9 | June 22, 2006 04:46 |
Anyone who can help me for this case ? | Adam | FLUENT | 0 | September 30, 2005 11:50 |