CFD Online Discussion Forums

CFD Online Discussion Forums (
-   OpenFOAM Post-Processing (
-   -   OpenFOAM to FIELDVIEW conversion (

darrin October 29, 2009 18:37

OpenFOAM to FIELDVIEW conversion
I have experieinced some problems with the foamToFieldview9 utility that comes with OpendFOAM 1.5. Has anyone updated this utility?

feijooos October 31, 2009 14:06

can you be a little more specific on what problems you are having?

darrin November 1, 2009 16:46

The problems I'm having are when I try to load the FV-UNS file in FIELDVIEW. I working with the settlingFoam tutorial "dahl". The error I get is " The name 'aalpha' belongs to two different functions. One is a Solver Results File Variable and the other is a Solver Results File Varialbe". I get several of these messages when ever I load the results files, clicking okay makes the messages go away, but they are very annoying when working with transient files.

feijooos November 1, 2009 17:35

Do you get the same error messages when you try it on another case and what FV version are you using?

darrin November 1, 2009 23:37

I'm using FIELDVIEW 12.2.1. I have just run a simpleFoam example and these file read fine into FIELDVIEW. I suspect the problem is in the settlingFoam tutorial and not the foamToFieldview9 utility.

feijooos November 2, 2009 11:04

I suspect that too

darrin November 5, 2009 20:01

I have found the problem. The settlingFoam solver had two variables Alpha and alpha. Whilst OpenFOAM is case sensitive FIELDVIEW doesn't appear to be. The error was caused by FIELDVIEW seeing the two variables as the same.

pramodopen4foam November 9, 2009 06:44

Hi darrin,

Can you please specify diffrent fractions Alpha and alpha, as to what they clearly indicate,

I had a big doubt in this case,

Thanks in advance,

darrin November 10, 2009 17:07

From my understanding, Alpha is the mass fraction of solids and alpha is the volume fraction. The solver is very confusing as both the mass fraction and volume fractions are used throughout. Would be easier to read if both variables had a different name.

feijooos November 10, 2009 17:08

Why don't you change the solver to rename Alpha?

darrin November 10, 2009 17:11

That is excatly what I did to fix the problem with the FieldView conversion. I renamed Alpha and re-compilied.

pramodopen4foam November 11, 2009 16:25

Thanks for your reply darrin,
now how can we come out of this problem, any idea friend,


darrin November 11, 2009 16:53

Just make sure when a solver is written all the variables have different names. FIELDVIEW isn't case sensitive so using the same names with different case does not work.

All times are GMT -4. The time now is 17:49.