Discussion Closed This discussion was created more than 6 months ago and has been closed. To start a new discussion with a link back to this one, click here.
Coupling a ODE to the Boundary of a Laminar Flow Simulation
Posted Jun 14, 2016, 4:23 p.m. EDT 1 Reply
Please login with a confirmed email address before reporting spam
I'm trying to simulate blood flow in a tube using a mechanical circuit known as the Windkessel model. This model relates outlet pressure to velocity through a set of equations:
(1) P = RT*V_avg + Q/C = 0
(2) Q = C*R1*V_avg - C*R1*dQ/dt
P is Pressure at the outlet, V_avg is the average volumetric flow rate at the outlet, and Q is a variable related to tube compliance. RT, R1, and C are all fixed parameters which define the circuit.
I want to couple this equation to the outlet as a boundary condition. However since the pressure and volumetric flow rate are connected through the 2nd equation I am unsure how properly couple the ODE module to a laminar flow module.
Using the first equation (1) I created a pressure variable which I used to define the pressure at my outlet. The second equation (2) was then defined using the Boundary ODE module. I have everything fully defined but I am getting errors and I think it is cause I did not properly couple the two modules together. If you could look at my set up and tell me where I might have made a mistake I would greatly appreciate it.
Thank you,
Attachments:
Hello Christian Rivera
Your Discussion has gone 30 days without a reply. If you still need help with COMSOL and have an on-subscription license, please visit our Support Center for help.
If you do not hold an on-subscription license, you may find an answer in another Discussion or in the Knowledge Base.