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

Export boundary conditions in CGNS with AutoGrid5

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

Like Tree3Likes
  • 2 Post By Lalilulelo
  • 1 Post By misu

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 20, 2016, 06:02
Default Export boundary conditions in CGNS with AutoGrid5
  #1
New Member
 
Alan
Join Date: Jul 2012
Posts: 5
Rep Power: 13
Lalilulelo is on a distinguished road
Hi all!

For a mysterious reason, when I save a project, boundary conditions are not saved in the CGNS file.
But when colleagues of mine load and re-save the same project without changing a thing, they all have boundary conditions in the CGNS file...
They don't remember to have checked a particular option or added some files or libraries.

Does anyone have an idea how to figure that out?

Thanks
Lalilulelo is offline   Reply With Quote

Old   October 21, 2016, 15:05
Default
  #2
Senior Member
 
DarylMusashi's Avatar
 
Holger Dietrich
Join Date: Apr 2011
Location: Germany
Posts: 174
Rep Power: 14
DarylMusashi is on a distinguished road
Hi Alan,
have you tried to inspect your cgns file with an external program, like ADFViewer? In AutoGrid5 the boundary conditions are saved in the .bcs file, which is written along with the .cgns file.

"The boundary condition file (.bcs file) is used to export the boundary condition settings of each patch of a grid, defined with the Grid/Boundary Conditions... menu."
DarylMusashi is offline   Reply With Quote

Old   October 24, 2016, 03:42
Default
  #3
New Member
 
Alan
Join Date: Jul 2012
Posts: 5
Rep Power: 13
Lalilulelo is on a distinguished road
I use CGNSview to inspect the file and that is how I saw that the BC where not in the file. If I open the CGNS file of my colleague with CGNSview, the ZoneGridConnectivity and ZoneBC are visible in the tree but not in my file. I have the .bcs file in the directory but it doesn't seem to be read by CGNSview.
I can't find any information in the user manual of AutoGrid. There is no difference in the igg.preferences file that would suggest a different behaviour during the export.
Lalilulelo is offline   Reply With Quote

Old   October 24, 2016, 09:49
Default
  #4
Senior Member
 
Colinda
Join Date: May 2012
Location: Brussels
Posts: 151
Rep Power: 13
colinda1 is on a distinguished road
Which version of AutoGrid5 are you using?
Look in the manual for the option "Save CGNS patch info"
This should of course be activated to have the patch information in the cgns file.
colinda1 is offline   Reply With Quote

Old   October 24, 2016, 09:59
Default
  #5
New Member
 
Alan
Join Date: Jul 2012
Posts: 5
Rep Power: 13
Lalilulelo is on a distinguished road
I am using version 9.1-3. I have the option checked and the following code in the igg.preferences file :
Code:
          NI_BEGIN niparameter
          VERSION                     1.0
          NAME                        CGNS_patch_info_saving
          GLOBAL                      no
          TYPE                        INTEGER
          EXPERT                      no
          NUMBER                      1
          VALUE                       1
          NI_END   niparameter
          NI_BEGIN niparameter
          VERSION                     1.0
          NAME                        CGNS_patch_info_saving_ansys
          GLOBAL                      no
          TYPE                        INTEGER
          EXPERT                      no
          NUMBER                      1
          VALUE                       1
          NI_END   niparameter
The files are identical with the one of my colleague.

Could it be linked to the cgns libraries that may be called? I don't know how it is implemented, if AutoGrid has its own packaging of the cgns API or if it requires an external installation.
Lalilulelo is offline   Reply With Quote

Old   October 24, 2016, 10:06
Default
  #6
Senior Member
 
Colinda
Join Date: May 2012
Location: Brussels
Posts: 151
Rep Power: 13
colinda1 is on a distinguished road
That is quite an old version. Your colleague is using the same version?
Would be good to try with the most recent release. No separate external installation required.
colinda1 is offline   Reply With Quote

Old   October 27, 2016, 11:20
Default
  #7
New Member
 
Alan
Join Date: Jul 2012
Posts: 5
Rep Power: 13
Lalilulelo is on a distinguished road
It is our most recent release.
It seems to have been solved. But I have no idea how...

Thanks all
DarylMusashi and colinda1 like this.
Lalilulelo is offline   Reply With Quote

Old   November 18, 2016, 06:44
Default
  #8
New Member
 
Join Date: Nov 2009
Posts: 2
Rep Power: 0
misu is on a distinguished road
Send a message via MSN to misu
set as below:
Open "IGG"---"File"---"Preference"---"saving"
and then, tick "saving CGNS patch info/family name control"
hope that could help you!
DarylMusashi likes this.
misu is offline   Reply With Quote

Old   August 8, 2018, 08:13
Default
  #9
New Member
 
PLD
Join Date: Jun 2017
Location: Braunschweig, Germany
Posts: 13
Rep Power: 8
parthiv1991 is on a distinguished road
Hello Misu,

is there a command for this which can be added to the script file so that it automatically changes the saving preference?

I had faced the same problem since my cgns file was not opening in GMC. And then I changed the saving preference and it worked.

Best Regards,

Parthiv
parthiv1991 is offline   Reply With Quote

Reply

Tags
autogrid5, cgns bc, export data

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
Error - Solar absorber - Solar Thermal Radiation MichaelK CFX 12 September 1, 2016 05:15
Wrong flow in ratating domain problem Sanyo CFX 17 August 15, 2015 06:20
Problem with SIMPLEC-like finite volume channel flow boundary conditions ghobold Main CFD Forum 3 June 15, 2015 11:14
Unable to install OpenFOAM 1.6-ext Maimouna OpenFOAM Installation 23 May 8, 2014 05:47
Low Mixing time Problem Mavier CFX 5 April 29, 2013 00:00


All times are GMT -4. The time now is 19:20.