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

How to change boundary condition from command

Register Blogs Community New Posts Updated Threads Search

Like Tree2Likes
  • 1 Post By fluent87
  • 1 Post By Zaktatir

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 11, 2013, 07:15
Thumbs up How to change boundary condition from command
  #1
New Member
 
Cristiano
Join Date: Feb 2013
Posts: 11
Rep Power: 13
fluent87 is on a distinguished road
Hallo to everybody!
Since I didn'd find this information, iI create this post to share with you my knowledge

My question was:
How to change boundary condition from command?

To change a bondary condition for example from wall to pressure outlet you have to write in command zone:
/define/boundary-condition/modify-zone/zone-type

after select teh id or the name of the boundary that you want to change, press "enter" and write the tyoe of the new boundary type (pressure outlet in the example)


After my other question was been:
Ok! It works! But how to set an UDF in the pressure outlet boundary from command?

The answer is simple. You have to write this command:
/define/boundary-condition/pressure-outlet
Now you have to answer to the question and select your UDF file, being careful to put the UDF file name between inverted commas (example "udf_name")


Enjoy!
H.D. likes this.
fluent87 is offline   Reply With Quote

Old   December 11, 2013, 07:31
Default
  #2
Member
 
Join Date: Nov 2013
Posts: 43
Rep Power: 13
Persil is on a distinguished road
thx for sharing your knowledge

creating periodic bc is also possible by: mesh>modify/mp and entering the IDs of the corresponding zones
Persil is offline   Reply With Quote

Old   December 11, 2013, 13:35
Default
  #3
Senior Member
 
Join Date: Jan 2010
Location: Germany
Posts: 268
Rep Power: 17
Zaktatir is on a distinguished road
More details are in TUI Manual!
roteyl likes this.
Zaktatir is offline   Reply With Quote

Old   June 26, 2019, 11:44
Default
  #4
New Member
 
Join Date: Jul 2014
Posts: 4
Rep Power: 12
aneres is on a distinguished road
Thank you for you help.
I have a more complex problem: if there are 4 udf, how to choose among them?


profile names list: ("udf" "udf" "udf" "udf")




If I wrote "udf", I received the error message from Fluent.
I'm trying to change the profile names bu I didn't find how to do this.



Does anyone have any suggestion?


Thank you!
aneres is offline   Reply With Quote

Old   June 26, 2019, 21:51
Default
  #5
Senior Member
 
Alexander
Join Date: Apr 2013
Posts: 2,363
Rep Power: 34
AlexanderZ will become famous soon enoughAlexanderZ will become famous soon enough
what is "profile names list"?

1. put all your UDF into 1 file, specify different names and recompile
or
2. rename compiled folders (udf1, udf2, ...)

best regards
AlexanderZ is offline   Reply With Quote

Old   June 27, 2019, 04:03
Default
  #6
New Member
 
Join Date: Jul 2014
Posts: 4
Rep Power: 12
aneres is on a distinguished road
Thank you for your reply.


I already did it. I have 4 udf in one file each with its name. But fluent recognizes as "udf" all of them.


What do you mean with "rename compiled folders (udf1, udf2, ...)"?


Thank you in advance.


Best regards
aneres is offline   Reply With Quote

Old   June 27, 2019, 04:50
Default
  #7
Senior Member
 
Alexander
Join Date: Apr 2013
Posts: 2,363
Rep Power: 34
AlexanderZ will become famous soon enoughAlexanderZ will become famous soon enough
Quote:
I already did it. I have 4 udf in one file each with its name. But fluent recognizes as "udf" all of them.
it is impossible

best regards
AlexanderZ is offline   Reply With Quote

Old   June 27, 2019, 05:45
Default
  #8
New Member
 
Join Date: Jul 2014
Posts: 4
Rep Power: 12
aneres is on a distinguished road
I solved the problem with the newest version that recognizes the udf name.


Thank you.
aneres is offline   Reply With Quote

Old   September 11, 2019, 14:27
Default
  #9
New Member
 
Pablo Brown
Join Date: Sep 2019
Posts: 3
Rep Power: 7
sadeghir97 is on a distinguished road
Hello everyone, I have a problem with one inlet and about 100 outlets. What is the quickest way to define these outlets without manually doing it?
sadeghir97 is offline   Reply With Quote

Reply

Tags
boundary condition


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
Use DEFINE_ADJUST change boundary condition liurengtong123 Fluent UDF and Scheme Programming 29 January 14, 2024 01:56
Radiation interface hinca CFX 15 January 26, 2014 18:11
inlet velocity boundary condition murali CFX 5 August 3, 2012 09:56
vorticity boundary condition bearcharge Main CFD Forum 0 May 14, 2010 12:32
[Commercial meshers] Trimmed cell and embedded refinement mesh conversion issues michele OpenFOAM Meshing & Mesh Conversion 2 July 15, 2005 05:15


All times are GMT -4. The time now is 01:02.