Note: This discussion is about an older version of the COMSOL Multiphysics® software. The information provided may be out of date.

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.

Dependant variable

Please login with a confirmed email address before reporting spam

Hello ,

How could I define a dependant variable in comsol a specific quantity like Displacment or displacment e.g suppose we have dependent variable u(x,y,t) and I want this dependant variable to be displacment.

Thank you

4 Replies Last Post 10 mar 2011, 05:41 GMT-5
Ivar KJELBERG COMSOL Multiphysics(r) fan, retired, former "Senior Expert" at CSEM SA (CH)

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 10 mar 2011, 04:08 GMT-5
Hi

your question is not easy to understand, the displacement are defined as _u_ =(u,v,w) in most physics (in fact where relevant).

if you are in PDE mode you can rename the dependent variables in the main node, or better during definition

--
Good luck
Ivar
Hi your question is not easy to understand, the displacement are defined as _u_ =(u,v,w) in most physics (in fact where relevant). if you are in PDE mode you can rename the dependent variables in the main node, or better during definition -- Good luck Ivar

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 10 mar 2011, 04:15 GMT-5
Hi Ivar,

I am in PDE's- wave equation(waeq)-2D and I have u as the dependent variable. I want u(x,y,t) and then I want to consider a pulse at one boundary. But I want the dependent variable be dispalcment in x or y direction.

How could I do that?

thank you
Hi Ivar, I am in PDE's- wave equation(waeq)-2D and I have u as the dependent variable. I want u(x,y,t) and then I want to consider a pulse at one boundary. But I want the dependent variable be dispalcment in x or y direction. How could I do that? thank you

Ivar KJELBERG COMSOL Multiphysics(r) fan, retired, former "Senior Expert" at CSEM SA (CH)

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 10 mar 2011, 05:20 GMT-5
Hi

make a "new model: 2D structural physics" and check the dependent variables there you have (u,v) for the displacements. This is called _u_ in bold as vector field in x,y.
When you select a time dependent /transient solver COMSOL adds the time derivatives such as ut, vt wich is to be read as d(u)/dt and d(v)/dt

Read the doc and try out a simple model to understand the default conventions of COMSOL

--
Good luck
Ivar
Hi make a "new model: 2D structural physics" and check the dependent variables there you have (u,v) for the displacements. This is called _u_ in bold as vector field in x,y. When you select a time dependent /transient solver COMSOL adds the time derivatives such as ut, vt wich is to be read as d(u)/dt and d(v)/dt Read the doc and try out a simple model to understand the default conventions of COMSOL -- Good luck Ivar

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 10 mar 2011, 05:41 GMT-5
Ivar,

for structural mechnaic I did it easily but for PDE's it is a bit confusing. The problem I have is that I can not assign the dependent varaible u to be considered displacment in x or y in PDE. In structuaral physics easyly I can define pressure, displacment and its deriviative because dependent variable is displacment but in PDE dependent variable is u that could be everthing like pressure displacmnet ,... how to make comsol to get dependent variable (u) in comsol displacment or something else I am confused.

however thank you very much Ivar.
Ivar, for structural mechnaic I did it easily but for PDE's it is a bit confusing. The problem I have is that I can not assign the dependent varaible u to be considered displacment in x or y in PDE. In structuaral physics easyly I can define pressure, displacment and its deriviative because dependent variable is displacment but in PDE dependent variable is u that could be everthing like pressure displacmnet ,... how to make comsol to get dependent variable (u) in comsol displacment or something else I am confused. however thank you very much Ivar.

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.