TAGGED: lsdyna
-
-
July 25, 2023 at 3:47 ammmia1SubscriberHiI have generated pipe and elbow .k file using MATLAB. Have some confusion how to calculate the projected area of the element of pipe and elbow. For instance, if water is flowing in Z direction, elements of pipe1 and pipe 3 will not experience any pressure and force, while pipe 2, elbow 1 and elbow 2 will experience water pressure and corresponsidng forces. I was told that I have to calculate projected length and width and multiply to get projected area. This area will be such that when water is flowing in Z direction, corresponding area of pipe 1 and pipe 3 will be zero and there would be area for the remaining parts.ÂMy code was as follows:%% element area pipe 1for m = 1:size(element_num_shell_1_1,2) % size(element_num_shell_1_1,2) = 840, total number of elements of pipe 1if mod(m,n_ele_circum-1)~= 0 % n_ele_circum = number of elements around the circumference = 15P1 = node_coord_list(m,[2:4]); %Q1 = node_coord_list(m+1,[2:4]);R1 = node_coord_list(m+(n_ele_circum-1),[2:4]);elseP1 = node_coord_list(m,[2:4]);Q1 = node_coord_list(m-(n_ele_circum-2),[2:4]);R1 = node_coord_list(m+(n_ele_circum-1),[2:4]);endif flow_direction == 1 % flow_direction =1 means flow paralle to + Z axisl = abs(P1(1)-Q1(1)); % lengthw = abs(P1(2)-R1(2)); % widthelseif flow_direction == 2 % flow_direction =2 means flow paralle to + X axisl = abs(P1(3)-Q1(3)); % lengthw = abs(P1(2)-R1(2)); % widthendArea_ele(m) = l*w;endÂHere, P1, Q1 and R1 are as follows:The problem is that, for pipe 1 and pipe 3, I got zero area, however, for pipe 2 and elbow also I got zero projected area. Can anyone help me in this regards? Thanks.
-
July 27, 2023 at 12:54 pmFedericoAnsys Employee
Hello,Â
this seems like a Matlab question. Do you have a Fluids question?
-
Viewing 1 reply thread
- The topic ‘Need help in projected area of pipe along the direction of flow’ is closed to new replies.
Ansys Innovation Space
Trending discussions
- Workbench license error
- Unexpected error on Workbench: Root element not found.
- Unexpected issues with SCCM deployment of Ansys Fluids and Structures 2024 R1
- Questions and recommendations: Septum Horn Antenna
- AQWA: Hydrodynamic response error
- Tutorial or Help for 2 way FSI
- Unable to connect to the license
- Moment Reaction probe with Large deformation
- 2 way coupled FSI for ball bearing
- Ansys with Vmware and CPU configuration : I’m lost, good practice?
Top Contributors
-
1416
-
599
-
591
-
565
-
366
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.