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

Trouble with Customized Boundary Conditions in SU2 Python Script

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 4, 2024, 08:22
Unhappy Trouble with Customized Boundary Conditions in SU2 Python Script
  #1
Member
 
Sean
Join Date: May 2023
Posts: 52
Rep Power: 3
bgulzar22 is on a distinguished road
I'm currently working on a Python script for setting customized boundary conditions in an SU2 simulation using the pysu2 module. I've encountered an issue where the simulation fails to run correctly, and I suspect it's related to how I'm handling marker IDs and setting custom temperatures.

Here's a summary of my setup:

I've defined markers in my SU2 configuration file (MARKER_ISOTHERMAL, MARKER_PYTHON_CUSTOM, etc.).
In my Python script, I retrieve the marker tags using GetMarkerTags() and then proceed to set custom temperatures using SetMarkerCustomTemperature().
However, when I run the simulation, I get errors like "The marker 'WALL' does not exist in the simulation" or similar messages for other markers.

I've double-checked my configuration file and script, and everything seems to align correctly. Could someone provide insights or suggestions on how to troubleshoot this issue? Are there common pitfalls or best practices when dealing with marker IDs and customized boundary conditions in SU2 using the pysu2 module?

I am attaching my mesh file , cfg file, PyScript and temperature file here in the link as well.
https://drive.google.com/drive/folde...usp=drive_link
Any help or guidance would be greatly appreciated!
bgulzar22 is offline   Reply With Quote

Old   May 6, 2024, 02:33
Default
  #2
Member
 
Sean
Join Date: May 2023
Posts: 52
Rep Power: 3
bgulzar22 is on a distinguished road
Any Ideas ?
bgulzar22 is offline   Reply With Quote

Old   May 6, 2024, 05:43
Default
  #3
Member
 
Sean
Join Date: May 2023
Posts: 52
Rep Power: 3
bgulzar22 is on a distinguished road
Quote:
Originally Posted by bgulzar22 View Post
I'm currently working on a Python script for setting customized boundary conditions in an SU2 simulation using the pysu2 module. I've encountered an issue where the simulation fails to run correctly, and I suspect it's related to how I'm handling marker IDs and setting custom temperatures.

Here's a summary of my setup:

I've defined markers in my SU2 configuration file (MARKER_ISOTHERMAL, MARKER_PYTHON_CUSTOM, etc.).
In my Python script, I retrieve the marker tags using GetMarkerTags() and then proceed to set custom temperatures using SetMarkerCustomTemperature().
However, when I run the simulation, I get errors like "The marker 'WALL' does not exist in the simulation" or similar messages for other markers.

I've double-checked my configuration file and script, and everything seems to align correctly. Could someone provide insights or suggestions on how to troubleshoot this issue? Are there common pitfalls or best practices when dealing with marker IDs and customized boundary conditions in SU2 using the pysu2 module?

I am attaching my mesh file , cfg file, PyScript and temperature file here in the link as well.
https://drive.google.com/drive/folde...usp=drive_link
Any help or guidance would be greatly appreciated!
Can anyone provide any help , please.
bgulzar22 is offline   Reply With Quote

Reply

Tags
markers, pysu2, python script, python script error


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
sliding mesh problem in CFX Saima CFX 46 September 11, 2021 07:38
Centrifugal fan j0hnny CFX 13 October 1, 2019 13:55
Waterwheel shaped turbine inside a pipe simulation problem mshahed91 CFX 3 January 10, 2015 11:19
Question about heat transfer coefficient setting for CFX Anna Tian CFX 1 June 16, 2013 06:28
Low Mixing time Problem Mavier CFX 5 April 29, 2013 00:00


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