CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (https://www.cfd-online.com/Forums/openfoam-solving/)
-   -   Question about new case (https://www.cfd-online.com/Forums/openfoam-solving/60403-question-about-new-case.html)

evgenii November 26, 2005 08:54

Hi, everyone. My question i
 
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.

mattijs November 26, 2005 09:20

icoFoam.cfg (or one of the fil
 
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.

vvqf November 29, 2005 15:56

Hi, Efimenko Evgenii, you can
 
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.

evgenii December 2, 2005 07:49

Hi, Mattijs Janssens. I've tr
 
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.

mattijs December 2, 2005 10:28

FoamX will scan for XXX/Fo
 
FoamX will scan for

XXX/FoamX/XXX.cfg

starting under

$FOAM_SOLVERS
and
$WM_PROJECT_USER_DIR/applications/solvers


All times are GMT -4. The time now is 06:32.