CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > COMSOL

Weak Contribution - COMSOL

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 1, 2015, 16:53
Default Weak Contribution - COMSOL
  #1
New Member
 
Brandon
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)*(tpfmm.nr-u) + test(w)*(tpfmm.nz - 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

Reply

Tags
comsol, weak contribution, weak form


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 COMSOL 2 June 13, 2011 04:56
Pros and Cons for CFX, CFdesign, COMSOL Val Main CFD Forum 3 June 10, 2011 03:20
pressure distribution in water flow, differences in icoFoam and COMSOL deniggo OpenFOAM Running, Solving & CFD 14 September 30, 2010 04:48
comsol weak formulation Olga COMSOL 0 December 10, 2007 14:39
COMSOL weak formulation Das COMSOL 0 May 9, 2006 20:16


All times are GMT -4. The time now is 16:21.