Persistent error with undefined variable in time dependent solver and stationary solver

Please login with a confirmed email address before reporting spam

Hello Comsol,

I am facing an issue in my COMSOL model that I have been unable to resolve for a few days now, even after multiple attempts and fixes. I am working on a time-dependent simulation of blood flow in the aorta (normal aorta and with coarctation), and I have added Global ODEs (RCR model) to model the pressure changes in the arteries. My Boundary conditions have been set to velocity inlet and outlets with pressure. My main issue is that when I try to run the simulation, I keep encountering the error: "Undefined variable - Variable: comp1.p" This happens both in time-dependent and stationary solvers. How do I fix this issue?

(C_B*comp1.pt + comp1.p/R2_B - Q_B) this is the equation I have used in the global equation in global ODEs and DAEs. where: C_B is the compliance comp1.pt is dp/dt R2_B is distal resistance Q_B is the flow rate. I have defined all these parameters.



Reply

Please read the discussion forum rules before posting.

Please log in to post a reply.

Note that while COMSOL employees may participate in the discussion forum, COMSOL® software users who are on-subscription should submit their questions via the Support Center for a more comprehensive response from the Technical Support team.