CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Post-Processing

OpenFOAM to FIELDVIEW conversion

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 29, 2009, 18:37
Default OpenFOAM to FIELDVIEW conversion
  #1
New Member
 
Darrin Stephens
Join Date: Mar 2009
Posts: 25
Rep Power: 17
darrin is on a distinguished road
I have experieinced some problems with the foamToFieldview9 utility that comes with OpendFOAM 1.5. Has anyone updated this utility?
darrin is offline   Reply With Quote

Old   October 31, 2009, 14:06
Default
  #2
Member
 
Eelco Gehring
Join Date: Mar 2009
Posts: 70
Rep Power: 17
feijooos is on a distinguished road
can you be a little more specific on what problems you are having?
feijooos is offline   Reply With Quote

Old   November 1, 2009, 16:46
Default
  #3
New Member
 
Darrin Stephens
Join Date: Mar 2009
Posts: 25
Rep Power: 17
darrin is on a distinguished road
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.
darrin is offline   Reply With Quote

Old   November 1, 2009, 17:35
Default
  #4
Member
 
Eelco Gehring
Join Date: Mar 2009
Posts: 70
Rep Power: 17
feijooos is on a distinguished road
Do you get the same error messages when you try it on another case and what FV version are you using?
feijooos is offline   Reply With Quote

Old   November 1, 2009, 23:37
Default
  #5
New Member
 
Darrin Stephens
Join Date: Mar 2009
Posts: 25
Rep Power: 17
darrin is on a distinguished road
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.
darrin is offline   Reply With Quote

Old   November 2, 2009, 11:04
Default
  #6
Member
 
Eelco Gehring
Join Date: Mar 2009
Posts: 70
Rep Power: 17
feijooos is on a distinguished road
I suspect that too
feijooos is offline   Reply With Quote

Old   November 5, 2009, 20:01
Default
  #7
New Member
 
Darrin Stephens
Join Date: Mar 2009
Posts: 25
Rep Power: 17
darrin is on a distinguished road
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.
darrin is offline   Reply With Quote

Old   November 9, 2009, 06:44
Default
  #8
Member
 
Pramod
Join Date: Jul 2009
Posts: 30
Rep Power: 16
pramodopen4foam is on a distinguished road
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,
pramodopen4foam is offline   Reply With Quote

Old   November 10, 2009, 17:07
Default
  #9
New Member
 
Darrin Stephens
Join Date: Mar 2009
Posts: 25
Rep Power: 17
darrin is on a distinguished road
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.
darrin is offline   Reply With Quote

Old   November 10, 2009, 17:08
Default
  #10
Member
 
Eelco Gehring
Join Date: Mar 2009
Posts: 70
Rep Power: 17
feijooos is on a distinguished road
Why don't you change the solver to rename Alpha?
feijooos is offline   Reply With Quote

Old   November 10, 2009, 17:11
Default
  #11
New Member
 
Darrin Stephens
Join Date: Mar 2009
Posts: 25
Rep Power: 17
darrin is on a distinguished road
That is excatly what I did to fix the problem with the FieldView conversion. I renamed Alpha and re-compilied.
darrin is offline   Reply With Quote

Old   November 11, 2009, 16:25
Default
  #12
Member
 
Pramod
Join Date: Jul 2009
Posts: 30
Rep Power: 16
pramodopen4foam is on a distinguished road
Thanks for your reply darrin,
now how can we come out of this problem, any idea friend,

thanks,
pramodopen4foam is offline   Reply With Quote

Old   November 11, 2009, 16:53
Default
  #13
New Member
 
Darrin Stephens
Join Date: Mar 2009
Posts: 25
Rep Power: 17
darrin is on a distinguished road
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.
darrin is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


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


All times are GMT -4. The time now is 05:22.