[Transient flow calculation] Pipeline transient flow calculation based on matlab characteristic line method [including Matlab source code 3078]

1. ⛄ Obtain code method

Obtaining code method 1:
The complete code has been uploaded. My resources: [Transient flow calculation] Pipeline transient flow calculation based on matlab characteristic line method [Including Matlab source code 3078]
Click the blue font above to download directly for a fee.

Obtaining code method 2:
pay column Matlab physics application (primary version)

Remarks:
Click the paid column Matlab Physics Application (Primary Edition) in blue font above , scan the QR code above, and pay 29.9 yuan to subscribe to the Poseidon Blog paid column Matlab Physics Application (Primary Edition) , with the payment voucher, private message blogger, you can Get 1 copy of CSDN resource code uploaded by this blog for free ( valid from the date of subscription, valid within three days);
click the CSDN resource download link: 1 copy of CSDN resource code uploaded by this blog

⛄ 2. Part of the source code

% Assuming the valve closes instantaneously
% Initial data:

clear
tic
L=3000; % pipeline length
Hr=70; % pump pressure
N=10; % number of segments
NS=N+1; % number of nodes

Guess you like

Origin blog.csdn.net/TIQCmatlab/article/details/132676601