CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Pre-Processing (http://www.cfd-online.com/Forums/openfoam-pre-processing/)
-   -   FoamX error aachenBomb case (http://www.cfd-online.com/Forums/openfoam-pre-processing/62283-foamx-error-aachenbomb-case.html)

Ervin Adorean (Adorean) March 3, 2005 12:23

Hi, When I open the case a
 
Hi,

When I open the case aachenBomb of dieselFoam I get these error messages in FoamX.
Can anybody tell me what they mean or where are these parameters described?
The case aachenBomb I've copied in my run directory just as I found it in the OpenFOAM tutorial directory.

Ervin

Successfully connected to name service.
Non-optional dictionary entry 'runTimeModifiable' not found in dictionary
/home/ervin/OpenFOAM/ervin-1.0.2/run/tutorials/dieselFoam/aachenBomb/system/controlDict
in file /home/ervin/OpenFOAM/ervin-1.0.2/run/tutorials/dieselFoam/aachenBomb/system/controlDict
start at line 25 ending at line 55
Non-optional dictionary entry 'div((phi|interpolate(rho)),p)' not found in dictionary
/home/ervin/OpenFOAM/ervin-1.0.2/run/tutorials/dieselFoam/aachenBomb/system/fvSchemes::divSchemes
in file /home/ervin/OpenFOAM/ervin-1.0.2/run/tutorials/dieselFoam/aachenBomb/system/fvSchemes::divSchemes
start at line 38 ending at line 51
Non-optional dictionary entry 'ft' not found in dictionary
/home/ervin/OpenFOAM/ervin-1.0.2/run/tutorials/dieselFoam/aachenBomb/system/fvSolution::solvers
in file /home/ervin/OpenFOAM/ervin-1.0.2/run/tutorials/dieselFoam/aachenBomb/system/fvSolution::solvers
start at line 27 ending at line 33
Non-optional dictionary entry 'alphaEps' not found in dictionary
/home/ervin/OpenFOAM/ervin-1.0.2/run/tutorials/dieselFoam/aachenBomb/constant/turbulenceProperties::LRRCoeffs
in file /home/ervin/OpenFOAM/ervin-1.0.2/run/tutorials/dieselFoam/aachenBomb/constant/turbulenceProperties::LRRCoeffs
start at line 73 ending at line 81
Non-optional dictionary entry 'stoichiometricAirFuelMassRatio' not found in dictionary
/home/ervin/OpenFOAM/ervin-1.0.2/run/tutorials/dieselFoam/aachenBomb/constant/thermophysicalProperties
in file /home/ervin/OpenFOAM/ervin-1.0.2/run/tutorials/dieselFoam/aachenBomb/constant/thermophysicalProperties
start at line 9 ending at line 45
Non-optional dictionary entry 'A' not found in dictionary
/home/ervin/OpenFOAM/ervin-1.0.2/run/tutorials/dieselFoam/aachenBomb/constant/combustionProperties
in file /home/ervin/OpenFOAM/ervin-1.0.2/run/tutorials/dieselFoam/aachenBomb/constant/combustionProperties
start at line 9 ending at line 31
Non-optional dictionary entry 'ft' not found in dictionary
/home/ervin/OpenFOAM/ervin-1.0.2/run/tutorials/dieselFoam/aachenBomb/constant/sprayProperties::interpolationSchemes
in file /home/ervin/OpenFOAM/ervin-1.0.2/run/tutorials/dieselFoam/aachenBomb/constant/sprayProperties::interpolationSchemes
start at line 27 ending at line 30
Non-optional dictionary entry 'position' not found in dictionary
/home/ervin/OpenFOAM/ervin-1.0.2/run/tutorials/dieselFoam/aachenBomb/constant/injectorProperties
in file /home/ervin/OpenFOAM/ervin-1.0.2/run/tutorials/dieselFoam/aachenBomb/constant/injectorProperties
start at line 30 ending at line 137
Non-optional dictionary entry 'runTimeModifiable' not found in dictionary
/home/ervin/OpenFOAM/ervin-1.0.2/run/tutorials/dieselFoam/aachenBomb/system/controlDict
in file /home/ervin/OpenFOAM/ervin-1.0.2/run/tutorials/dieselFoam/aachenBomb/system/controlDict
start at line 25 ending at line 55
Opened case aachenBomb at database time 0

Hrvoje Jasak (Hjasak) March 3, 2005 13:22

If I were you, I'd give up on
 
If I were you, I'd give up on FoamX and run the case from the command line. It looks like either the FoamX config files are out of date and inconsistent with the updated case or the case itself is out of date.

Have a look at various dictionaries using the editor and try running the case from the command line - it will do most of the things FoamX does for you (and give you some more freedom).

Alternatively, you can add:

runTimeModifiable yes;

into system/controlDict and carry on doing that with all other missing entries (read the error messages, they are pretty good!). Have in mind that the code still needs to work, ie. the FoamX config files are not necessarily correct.

Enjoy,

Hrv

Henry Weller (Henry) March 3, 2005 13:32

Despite Hrvoje Jasak's dislik
 
Despite Hrvoje Jasak's dislike for FoamX it remains a good and useful tool for many OpenFOAM users and we plan to continue to develop and support it with help from users (obviously not including Hrvoje). Once you have added the missing entries from the dictionaries in the aachenBomb test case please send them back to us and we will include them in future releases for the benefit of other users who wish to continue to use FoamX.

Hrvoje Jasak (Hjasak) March 3, 2005 13:47

Hello Henry, I don't think
 
Hello Henry,

I don't think this was called for - I only said what I would do. While FoamX may do quite a lot and is reasonably good for novice users, it will never be able to do all I want and some things are just way too inconvenient. For example, consider typing in a mesh description for a 20-block mesh using FoamX. For this reason, commercial CFD codes provide a scripted interface - if Foam, one can simply edit the files by hand or script-change them.

As for my work on Foam, bug fixes and development, I will let my record speak for itself. The new tutorials and top-level solvers come not only from my work but also from my students, with the hope they will be useful and without strings attached.

Hrvoje Jasak

(who, incidentally, prefers to speak for himself instead of having other people interpret his words)

Henry Weller (Henry) March 3, 2005 13:53

> The new tutorials and top-l
 
> The new tutorials and top-level solvers come not only from my work but also from my students, with the hope they will be useful and without strings attached.

I do not know what this refers to or how to respond. 1.1 will be release without any such contributions because none were submitted.

Hrvoje Jasak (Hjasak) March 3, 2005 14:10

Two reasons: 1) On top of
 
Two reasons:

1) On top of all files in OpenFOAM it says:

Copyright (C) 1991-2004 OpenCFD Ltd.

I am not sure how I feel having a statement like this on my work. Maybe it's OK, maybe it's not, maybe I just need time to get used to it.

2) The deal (of 3 days ago) is that I wait for the beta release and merge my things into it and then pass on the changes and the beat is not out yet.

For the record, thenew things are as follows:

- reimplementation of parts of the finite area solver
- automatic mesh motion has been re-packed and now comes with run-time selection of governing equations and distance and distortion-based diffusivity
- free surface tracking solver is ready - see my recent presentations. It will be released with two tutorials, free surface tracking for waves and a free-rising bubble with surface tracking and surfactant effects.
- numerous bug fixes in topological changes, especially for layer addition/removal and sliding interfaces. The engine valve motion work is still in progress and will nto be released at this stage. Please note that the config files for specifying layering, sliding and other topological changes has been changes to allow multiple topo changes within a single time-step.

On the documentation side, there is a new PhD Thesis by my student Dr. Zeljko Tukovic describing the automatic mesh motion solver, its implementation and use. It is currently being translated to English.

Best regards,

Hrv

Hrvoje Jasak (Hjasak) March 3, 2005 14:18

Incidentally, a public CVS re
 
Incidentally, a public CVS repository and a developer's public forum of the kind "this is what I'm thinking, these are the consequences, let's do some development together" would do a lot to alleviate my concerns.

I think a public CVS should be considered if possible in the nearest future.

Hrv

Ervin Adorean (Adorean) March 3, 2005 14:19

Thank you both for your swift
 
Thank you both for your swift replies!

1) I will do that Hrvoje. If I run into trouble I will ask for help.

2) I'll try to fix the aachenBomb case, Henry and make it running. When I'll do that I'll send it to you.

My interest in OpenFOAM is almost exclusively concerning it's possibilities to model diesel spray and combustion.
I have started my PhD with Fluent, continued with Kiva-3v, and it looks like I will finish it, delayed, but hopefully with much more satisfaction with OpenFOAM.

So, I kindly ask all the OpenFOAM team to let me know how can I get hold of articles where the theory regarding diesel spray and combustion (implemented in OpenFOAM) is described. The "ftp://monet.me.ic.ac.uk/pub/papers/TF9307.ps.gz" doesn't work.

Thank you.

Ervin

Henry Weller (Henry) March 3, 2005 14:26

OpenCFD was setup to enforce
 
OpenCFD was setup to enforce the GNU GPL on alll the OpenFOAM releases to protect all contributors including you.

Hrvoje Jasak (Hjasak) March 3, 2005 14:28

Thanks - good enough for me.
 
Thanks - good enough for me.

Hrv

Henry Weller (Henry) March 3, 2005 14:31

Hrv, OpenCFD plans to cont
 
Hrv,

OpenCFD plans to continue to develop OpenFOAM as well as collate, merge and test contributions. If you would rather setup a CVS repository for your developments you are free to do so, as is anyone else; OpenFOAM is a GPL product and anyone can use it or develop it in any way they like as long as they work within the constraints of the GPL.

Henry Weller (Henry) March 3, 2005 14:41

Ervin, I think the best re
 
Ervin,

I think the best reference text for the spray and diesel combustion in OpenFOAM is Niklas Nordin's thesis -- right Niklas?

TF9307 covers the development of my premixed combustion model, the more generalised version of which is implemented in XiFoam, engineFoam and Xoodels.

Ervin Adorean (Adorean) March 3, 2005 14:57

Thank you Henry! I have now
 
Thank you Henry!

I have now Niklas Nordin's thesis.
Can you please tell me how to get hold of TF9307. Or can you please send it to me? I'm also interested in it's later development.
Above, I meant that the ftp address doesn't work.
My e-mail: eadorean@yahoo.com

Thanks

Ervin

Niklas Nordin (Niklas) March 7, 2005 04:50

Hi, I would just like to s
 
Hi,

I would just like to say that I used mainly 2 theses
as reference when I implemented the spray stuff and they are

C. Kralj, Numerical Simulation of Diesel Spray Processes
D. Clerides, Numerical Simulation of Spray Processes in Diesel Engines

I have them both as ps-files but I dont know if I am allowed to distribute them.

Niklas


All times are GMT -4. The time now is 16:34.