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 Community New Posts Updated Threads Search

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 20, 2016, 07:02
Default Export boundary conditions in CGNS with AutoGrid5
  #1
New Member
 
Alan
Join Date: Jul 2012
Posts: 5
Rep Power: 14
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, 16:05
Default
  #2
Senior Member
 
DarylMusashi's Avatar
 
Holger Dietrich
Join Date: Apr 2011
Location: Germany
Posts: 174
Rep Power: 15
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, 04:42
Default
  #3
New Member
 
Alan
Join Date: Jul 2012
Posts: 5
Rep Power: 14
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, 10:49
Default
  #4
Senior Member
 
Colinda
Join Date: May 2012
Location: Brussels
Posts: 153
Rep Power: 14
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, 10:59
Default
  #5
New Member
 
Alan
Join Date: Jul 2012
Posts: 5
Rep Power: 14
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, 11:06
Default
  #6
Senior Member
 
Colinda
Join Date: May 2012
Location: Brussels
Posts: 153
Rep Power: 14
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, 12:20
Default
  #7
New Member
 
Alan
Join Date: Jul 2012
Posts: 5
Rep Power: 14
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, 07: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, 09:13
Default
  #9
New Member
 
PLD
Join Date: Jun 2017
Location: Braunschweig, Germany
Posts: 13
Rep Power: 9
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


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


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