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

How to use in wildcards in pyfluent and conveniently obtain name

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 28, 2023, 12:16
Default How to use in wildcards in pyfluent and conveniently obtain name
  #1
New Member
 
wuhaibin
Join Date: Aug 2023
Posts: 8
Rep Power: 3
HB833 is on a distinguished road
Now I have a problem about the failure of wildcards in the solver. when I use this code:solver_session.setup.boundary_conditions.pres sure_inlet['b_ inlet'].p0()
I can get the following results:{'option': 'constant or expression', 'constant':0}
But I used wildcards to run the code: solver_session.setup.boundary_conditions.pressure_ inlet['*b_inlet*'].p0()
The following error in picture.


HB833 is offline   Reply With Quote

Reply

Tags
fluent, pyfluent


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
How to intelligently add local sizes in pyfluent and conveniently obtain zone name HB833 Main CFD Forum 0 August 28, 2023 02:37


All times are GMT -4. The time now is 21:48.