-
-
July 27, 2021 at 7:51 am
Mathilde31
SubscriberDear everyone,
I would like to apply a heat flux which depends on the Z axis. I can defined a heat flux with tabular data but it is only depending on the time.
I tried to do it with an apdl command : I create a table, I read the file with my data, I write the data in the table and then I apply a heat flux with the values of the table. This doesn't work, the file cannot be read when I try to apply the heat flux.
I have also a polynomial function if needed to define the heat flux.
If someone know how to do it, please help me ! I am using Workbench 2019 R3.
Thank you
Mathilde
July 27, 2021 at 8:57 amErik Kostson
Ansys Employee
So it should work in general - the below x dependent feat flux works:
*dim,hftab,table,5,,,X
hftab(1,0)=0.0,0.25,0.5,0.75,1 ! x-pos.
hftab(1,1)=-100.0,-200.00,-300.0,-400.00,-500 ! - heat flux
CMSEL,S,HFBC,NODE
SF,ALL,HFLUX,%hftab%
ALLSEL,ALL
So define the table manually as done above, or if you do it via reading in a file, then see/search posts on how to do this:
There are many posts about this
Thank you
Erik
July 27, 2021 at 10:51 amMathilde31
Subscriber
Thank you very much for your answer.
It is working, except the line "CMSEL,S,HFBC,NODE", what is its purpose ? I found it in the help but I don't understand why you use it here.
To read a file, I know how to do it, I used *TREAD and VREAD but it isn't working. No worries, I will use your commands, it is easier :)
Mathilde
July 27, 2021 at 11:14 amErik Kostson
Ansys Employee
You are welcome - first we need to have/create a named selection (say of a face) in mechanical where we want to apply the flux, and that I called HFBC.
Once we have that we can use : CMSEL,S,HFBC,NODE, to select all the nodes on that face.
later in the SF command we use all, which apply to all nodes selected by the cmsel command.
All the best
Erik
July 27, 2021 at 11:27 amMathilde31
SubscriberPerfect I understand !
Thanks a lot
Kind regards
Mathilde
Viewing 4 reply threads- The topic ‘How to apply a heat flux which depends on the Z axis ?’ is closed to new replies.
Ansys Innovation SpaceTrending discussionsTop Contributors-
3266
-
1036
-
1004
-
859
-
798
Top Rated Tags© 2025 Copyright ANSYS, Inc. All rights reserved.
Ansys does not support the usage of unauthorized Ansys software. Please visit www.ansys.com to obtain an official distribution.
-

Ansys Assistant

Welcome to Ansys Assistant!
An AI-based virtual assistant for active Ansys Academic Customers. Please login using your university issued email address.

Hey there, you are quite inquisitive! You have hit your hourly question limit. Please retry after '10' minutes. For questions, please reach out to ansyslearn@ansys.com.
RETRY