|
[Sponsors] |
October 29, 2009, 18:37 |
OpenFOAM to FIELDVIEW conversion
|
#1 |
New Member
Darrin Stephens
Join Date: Mar 2009
Posts: 25
Rep Power: 17 |
I have experieinced some problems with the foamToFieldview9 utility that comes with OpendFOAM 1.5. Has anyone updated this utility?
|
|
October 31, 2009, 14:06 |
|
#2 |
Member
Eelco Gehring
Join Date: Mar 2009
Posts: 70
Rep Power: 17 |
can you be a little more specific on what problems you are having?
|
|
November 1, 2009, 16:46 |
|
#3 |
New Member
Darrin Stephens
Join Date: Mar 2009
Posts: 25
Rep Power: 17 |
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.
|
|
November 1, 2009, 17:35 |
|
#4 |
Member
Eelco Gehring
Join Date: Mar 2009
Posts: 70
Rep Power: 17 |
Do you get the same error messages when you try it on another case and what FV version are you using?
|
|
November 1, 2009, 23:37 |
|
#5 |
New Member
Darrin Stephens
Join Date: Mar 2009
Posts: 25
Rep Power: 17 |
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.
|
|
November 2, 2009, 11:04 |
|
#6 |
Member
Eelco Gehring
Join Date: Mar 2009
Posts: 70
Rep Power: 17 |
I suspect that too
|
|
November 5, 2009, 20:01 |
|
#7 |
New Member
Darrin Stephens
Join Date: Mar 2009
Posts: 25
Rep Power: 17 |
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.
|
|
November 9, 2009, 06:44 |
|
#8 |
Member
Pramod
Join Date: Jul 2009
Posts: 30
Rep Power: 16 |
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, |
|
November 10, 2009, 17:07 |
|
#9 |
New Member
Darrin Stephens
Join Date: Mar 2009
Posts: 25
Rep Power: 17 |
Hi,
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. |
|
November 10, 2009, 17:08 |
|
#10 |
Member
Eelco Gehring
Join Date: Mar 2009
Posts: 70
Rep Power: 17 |
Why don't you change the solver to rename Alpha?
|
|
November 10, 2009, 17:11 |
|
#11 |
New Member
Darrin Stephens
Join Date: Mar 2009
Posts: 25
Rep Power: 17 |
That is excatly what I did to fix the problem with the FieldView conversion. I renamed Alpha and re-compilied.
|
|
November 11, 2009, 16:25 |
|
#12 |
Member
Pramod
Join Date: Jul 2009
Posts: 30
Rep Power: 16 |
Thanks for your reply darrin,
now how can we come out of this problem, any idea friend, thanks, |
|
November 11, 2009, 16:53 |
|
#13 |
New Member
Darrin Stephens
Join Date: Mar 2009
Posts: 25
Rep Power: 17 |
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.
|
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Commercial meshers] Conversion Fluent cas and dat file to OpenFoam | matteo_gautero | OpenFOAM Meshing & Mesh Conversion | 11 | July 14, 2020 13:09 |
Superlinear speedup in OpenFOAM 13 | msrinath80 | OpenFOAM Running, Solving & CFD | 18 | March 3, 2015 06:36 |
Modified OpenFOAM Forum Structure and New Mailing-List | pete | Site News & Announcements | 0 | June 29, 2009 06:56 |
Adventure of fisrst openfoam installation on Ubuntu 710 | jussi | OpenFOAM Installation | 0 | April 24, 2008 15:25 |
OpenFOAM Debian packaging current status problems and TODOs | oseen | OpenFOAM Installation | 9 | August 26, 2007 14:50 |