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.

FSI FEA-Error 6170

Please login with a confirmed email address before reporting spam

Hello,

I am a newer user of COMSOL. I am trying to model a hydraulic engine mount using the Fluid-Structure-Interaction module. I followed the 'Obstacle in Fluid' tutorial, this is very similar to modeling the engine mount except I do NOT have and inlet nor an outlet. It seems as though it is having problems calculating the reaction force in the fluid, the model gives this error:
Error: 6170
Failed to evaluate variable.
- Variable: T_x_ns
- Geometry: 1
- Boundaries: 19,20,21,22,23,24,25,26,29,30, ...
Failed to evaluate variable.
- Variable: FX_smsld
- Defined as: (((-T_x_ns)*dvol_ale)/dvol)
Failed to evaluate variable.
- Variable: FXg_smsld
- Defined as: FX_smsld
Failed to evaluate expression.
- Expression: d(((FXg_smsld*u_test)-(0))*(dvol),u_test)

Can anyone help me fix this error?

Thank you!

10 Replies Last Post 2011年12月24日 GMT-5 20:34
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: 2 decades ago 2009年8月31日 GMT-4 16:33
Hi

I cannot interpreat your error messages, I do not know enough about COMSOL internals, but I was woundering, if you do not have any inlet nor outlet, and a incomresssble fluid in a given volume, arent you overconstraining your model ?

Ivar
Hi I cannot interpreat your error messages, I do not know enough about COMSOL internals, but I was woundering, if you do not have any inlet nor outlet, and a incomresssble fluid in a given volume, arent you overconstraining your model ? Ivar

Please login with a confirmed email address before reporting spam

Posted: 2 decades ago 2009年8月31日 GMT-4 17:02
Hello Mr. Kjelberg,

The fluid is contained by two rubber volumes and separated by a metal middle piece and I am trying to examine the damping and stiffness of the mount. Attached is a pic of a (quickly drawn) typical hydraulic mount. The black is rubber and the silver and purple are metal. The upper and lower chambers are filled with incompressible fluid. I am trying to examine how the rubber deforms partnered with the reaction forces back from the fluid. Thank you for your help, does this still seem over-constrained or do you have any additional ideas?

Walt
Hello Mr. Kjelberg, The fluid is contained by two rubber volumes and separated by a metal middle piece and I am trying to examine the damping and stiffness of the mount. Attached is a pic of a (quickly drawn) typical hydraulic mount. The black is rubber and the silver and purple are metal. The upper and lower chambers are filled with incompressible fluid. I am trying to examine how the rubber deforms partnered with the reaction forces back from the fluid. Thank you for your help, does this still seem over-constrained or do you have any additional ideas? Walt


Please login with a confirmed email address before reporting spam

Posted: 2 decades ago 2009年9月25日 GMT-4 07:18
I had the same error but for a different variable, just check in your subdomain dialogue box under each material, there will be one variable that you forgot to set, for me it was T (temperature) so for you its the variable called T_x_ns not sure what it is but you wil l find it in BOLD in the subdomain settings where all the properties are defined probably under the physics tab. it will look like this :

my example:

sigma_solid_1(T[1/K])[S/m]

goes to k=293

sigma_solid_1(1/293)[S/m]

hope this helps! i spent an hour until i realised that it was the problem
I had the same error but for a different variable, just check in your subdomain dialogue box under each material, there will be one variable that you forgot to set, for me it was T (temperature) so for you its the variable called T_x_ns not sure what it is but you wil l find it in BOLD in the subdomain settings where all the properties are defined probably under the physics tab. it will look like this : my example: sigma_solid_1(T[1/K])[S/m] goes to k=293 sigma_solid_1(1/293)[S/m] hope this helps! i spent an hour until i realised that it was the problem

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 2010年12月17日 GMT-5 18:39

I had the same error but for a different variable, just check in your subdomain dialogue box under each material, there will be one variable that you forgot to set


Excellent advice for the problem of "Failed to evaluate variable."

I thought because I used the material library, these values would be set for me, but "lo' and behold", mur (permeability) was not set for "Air" in ACDC physics, elec. and mag. fields.

Thanks!
[QUOTE] I had the same error but for a different variable, just check in your subdomain dialogue box under each material, there will be one variable that you forgot to set [/QUOTE] Excellent advice for the problem of "Failed to evaluate variable." I thought because I used the material library, these values would be set for me, but "lo' and behold", mur (permeability) was not set for "Air" in ACDC physics, elec. and mag. fields. Thanks!

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 2010年12月18日 GMT-5 04:04
Hi

there is a often forgotten rule with V4:
Always check your material AGAIN and once you have FINSIHED to set-up your model, just before you solve.

Because when you hange the phsics you might ask for new or other material properties and these might request some further variables. i.e. if you have no temperature nor any pressure in your model physics it is often useful to add the two Parameters:

T = 20[degC] and p=1[atm]

with his the internally defined material functions are mostly covered. But still some simple material properties are often missing by default, such as mur of air ;)

We could perhaps suggst to COMSOL that they add a little /!\ on the node icone of the material node image (far up so it's visible)


--
Good luck
Ivar
Hi there is a often forgotten rule with V4: Always check your material AGAIN and once you have FINSIHED to set-up your model, just before you solve. Because when you hange the phsics you might ask for new or other material properties and these might request some further variables. i.e. if you have no temperature nor any pressure in your model physics it is often useful to add the two Parameters: T = 20[degC] and p=1[atm] with his the internally defined material functions are mostly covered. But still some simple material properties are often missing by default, such as mur of air ;) We could perhaps suggst to COMSOL that they add a little /!\ on the node icone of the material node image (far up so it's visible) -- Good luck Ivar

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 2011年3月17日 GMT-4 00:29
I'm new to comsol, I opened subdomain to find variable T but couldn't find where I'm supposed to define it.

Any advice?
I'm new to comsol, I opened subdomain to find variable T but couldn't find where I'm supposed to define it. Any advice?

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 2011年3月17日 GMT-4 02:41
Hi

your question is a bit too short, you need to be more specific, tell which version, which physics, even which node or more about your issue. In the beginning its difficult to find all the places one need to adapt variables, fill in etc, just run systematically through the cases, but really START SIMPLE iyou will progress far quicker (FSI is already a complex multiphysics case)

--
Good luck
Ivar
Hi your question is a bit too short, you need to be more specific, tell which version, which physics, even which node or more about your issue. In the beginning its difficult to find all the places one need to adapt variables, fill in etc, just run systematically through the cases, but really START SIMPLE iyou will progress far quicker (FSI is already a complex multiphysics case) -- Good luck Ivar

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 2011年5月25日 GMT-4 14:03
HI,

I have similar error as well as below:

Failed to evaluate variable.
-Variable: mod1.v1x
-Geometry:1
-Domain:2

Failed to evaluate expression.
-Expression: Y+mod1.v1x

I wonder what is v1x and the Y. Did anyone have the similar error? Could you please advice??
HI, I have similar error as well as below: Failed to evaluate variable. -Variable: mod1.v1x -Geometry:1 -Domain:2 Failed to evaluate expression. -Expression: Y+mod1.v1x I wonder what is v1x and the Y. Did anyone have the similar error? Could you please advice??

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 2011年5月26日 GMT-4 02:32
Hi

"Y" is the "material frame Y" coordinate of some selected Entity,
while "v1x" is probably the spatial frame space derivative long "x" of "v1", that could be the 2nd structural "v" = y direction dependent variable (if you have 2 structural physics)

--
Good luck
Ivar
Hi "Y" is the "material frame Y" coordinate of some selected Entity, while "v1x" is probably the spatial frame space derivative long "x" of "v1", that could be the 2nd structural "v" = y direction dependent variable (if you have 2 structural physics) -- Good luck Ivar

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 2011年12月24日 GMT-5 20:34
Can anyone tell me what's wrong with this:

(The funny thing is that it worked with version 3.5a, but its not working in 3.4....I also defined the rho and eta values for both the subdomains in the Incompressible Navier stokes equation)

Error: 6170
Failed to evaluate variable
- Variable: t
- Geometry: 1
- Dimension: 2
- Domains: {1}
Failed to evaluate variable
- Variable: V
- Defined as: ((cos((((x*6)/unit_m_cf)+((5*t)/unit_s_cf)))*y)/unit_s_cf)
Failed to evaluate variable
- Variable: f
- Defined as: (((unit_N_cf*(U-V))*unit_s_cf)/(unit_m_cf^4))
Failed to evaluate variable
- Variable: F_x_chns
- Defined as: (-f)
Failed to evaluate variable
- Variable: res_u_chns
- Defined as: (((px+(((uy*v)+(u*ux))*rho_chns))-F_x_chns)-((vxy+(uyy+(uxx*2)))*eta_chns))
Failed to evaluate expression
- Expression: diff(((+(-2*eta_chns*ux+p)*test(ux)+(-eta_chns*(uy+vx))*test(uy)+(F_x_chns-rho_chns*(u*ux+v*uy))*test(u)+(-test(nojac(rho_chns)*(nojac(u)*ux+nojac(v)*uy)+px-nojac(eta_chns)*(2*uxx+uyy+vxy))*taum_chns*res_u_chns))-(0))*(dvol),{test@4})
Can anyone tell me what's wrong with this: (The funny thing is that it worked with version 3.5a, but its not working in 3.4....I also defined the rho and eta values for both the subdomains in the Incompressible Navier stokes equation) Error: 6170 Failed to evaluate variable - Variable: t - Geometry: 1 - Dimension: 2 - Domains: {1} Failed to evaluate variable - Variable: V - Defined as: ((cos((((x*6)/unit_m_cf)+((5*t)/unit_s_cf)))*y)/unit_s_cf) Failed to evaluate variable - Variable: f - Defined as: (((unit_N_cf*(U-V))*unit_s_cf)/(unit_m_cf^4)) Failed to evaluate variable - Variable: F_x_chns - Defined as: (-f) Failed to evaluate variable - Variable: res_u_chns - Defined as: (((px+(((uy*v)+(u*ux))*rho_chns))-F_x_chns)-((vxy+(uyy+(uxx*2)))*eta_chns)) Failed to evaluate expression - Expression: diff(((+(-2*eta_chns*ux+p)*test(ux)+(-eta_chns*(uy+vx))*test(uy)+(F_x_chns-rho_chns*(u*ux+v*uy))*test(u)+(-test(nojac(rho_chns)*(nojac(u)*ux+nojac(v)*uy)+px-nojac(eta_chns)*(2*uxx+uyy+vxy))*taum_chns*res_u_chns))-(0))*(dvol),{test@4})

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.