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

About Lorentz force

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By Rüdiger Schwarze

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 17, 2001, 07:30
Default About Lorentz force
  #1
Li San
Guest
 
Posts: n/a
I plan to simulate the natural convection of aqueous solutions of sodium chloride in a cubic cell under a uniform magnetic field. Would you please give a hand to tell me how to do it using fluent? Thanks in advance.
  Reply With Quote

Old   April 19, 2001, 06:45
Default Re: About Lorentz force
  #2
Rüdiger Schwarze
Guest
 
Posts: n/a
You have two possibilities: Either You can calulate the Lorentz force directly in a user-definied subroutine or You teat the lorentz force as a user-defined scalar.
  Reply With Quote

Old   April 19, 2001, 07:11
Default Re: About Lorentz force
  #3
Li San
Guest
 
Posts: n/a
Dear Rüdiger Schwarze, Thank you very much. I am a new comer. I think I should use user-defined subroutine. But I have no such kind of experiment. Could you give me a hand? How about send me a sample? Thanks in advance. Li
  Reply With Quote

Old   April 19, 2001, 09:58
Default Re: About Lorentz force
  #4
Rüdiger Schwarze
Guest
 
Posts: n/a
Lorentz force density in x:

DEFINE_SOURCE(x_imp, cell, thread, dS, eqn) {

/* variables */

float jz, by, source; float x[ND_ND];

/* coordinates of cell center */

C_CENTROID(x,cell,thread);

xk = x[0];

yk = x[1];

jz = f(xk,yk); /* eddy current density, deduced from analytical formula */

by = f(xk,yk); /* magnetic flux density, deduced from analytical formula */

source = -jz*by;

dS[eqn] = 0.0;

kcgmech likes this.
  Reply With Quote

Old   April 19, 2001, 20:18
Default Re: About Lorentz force
  #5
Li San
Guest
 
Posts: n/a
Thanks a lot. I will try it.
  Reply With Quote

Old   October 29, 2014, 07:04
Default
  #6
New Member
 
Ganesh K C
Join Date: Oct 2014
Location: Tiruchirappalli, India
Posts: 29
Rep Power: 11
kcgmech is on a distinguished road
Quote:
Originally Posted by Rüdiger Schwarze
;96788
Lorentz force density in x:

DEFINE_SOURCE(x_imp, cell, thread, dS, eqn) {

/* variables */

float jz, by, source; float x[ND_ND];

/* coordinates of cell center */

C_CENTROID(x,cell,thread);

xk = x[0];

yk = x[1];

jz = f(xk,yk); /* eddy current density, deduced from analytical formula */

by = f(xk,yk); /* magnetic flux density, deduced from analytical formula */

source = -jz*by;

dS[eqn] = 0.0;
how to get the current density and magnetic flux terms from the analytical formula? could you please give some information on this?
kcgmech is offline   Reply With Quote

Reply


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
Lorentz force in MHD module amirbahador FLUENT 13 March 26, 2019 03:34
Force can not converge colopolo CFX 13 October 4, 2011 22:03
Displaying Lorentz force as vectors? james Phoenics 0 February 28, 2008 06:51
Simulating lorentz force in electrochemical cell Dave FLUENT 0 February 2, 2008 17:14
Creating new utility Lorentz force calculation adekian OpenFOAM Running, Solving & CFD 0 May 24, 2007 05:16


All times are GMT -4. The time now is 02:27.