CFD Online Logo CFD Online URL
Home > Forums > General Forums > Main CFD Forum

Weak Contribution - COMSOL

Register Blogs Members List Search Today's Posts Mark Forums Read

LinkBack Thread Tools Search this Thread Display Modes
Old   June 1, 2015, 15:53
Default Weak Contribution - COMSOL
New Member
Join Date: Jun 2015
Posts: 1
Rep Power: 0
BJCK1990 is on a distinguished road
I am looking to implement a surface stress via a weak contribution in COMSOL using the "Two-Phase Flow Laminar Mesh" physics module. My model is a 2-D axis symmetric model.

The equation governing the stress on the surface is:

P_{mag} = \frac{1}{2} \mu_{0}\left(\vec{M} \cdot \hat{n} \right )^2

Where M is the magnetization of the liquid and mu is a universal constant.

The equivalent form using COMSOL variable notation is:
0.5*mu0_const*(down(mfnc.Mr)*nr + down(mfnc.Mz)*nz)^2

However, I realize that this is not sufficient. I believe the solution is to implement this using the weak form of the equation.

Can anyone guide me in the direction to implement this equation. What I have now is:

0.5*mu0_const*(down(mfnc.Mr)*nr + down(mfnc.Mz)*nz)^2*sign(down(mfnc.Mr)*nr + down(mfnc.Mz)*nz)*(test(u)*( + test(w)*( - w))

The bold term there is an addition that I don't completely understand and ended up grabbing from another form. I am pretty sure it is wrong.

Thanks in advance for any help.
BJCK1990 is offline   Reply With Quote


comsol, weak contribution, weak form

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
COMSOL Conference 2011: Call for Paper teguhtf Main CFD Forum 2 June 13, 2011 03:56
Pros and Cons for CFX, CFdesign, COMSOL Val Main CFD Forum 3 June 10, 2011 02:20
pressure distribution in water flow, differences in icoFoam and COMSOL deniggo OpenFOAM Running, Solving & CFD 14 September 30, 2010 03:48
comsol weak formulation Olga Main CFD Forum 0 December 10, 2007 13:39
COMSOL weak formulation Das Main CFD Forum 0 May 9, 2006 19:16

All times are GMT -4. The time now is 03:39.