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

 April 17, 2001, 07:30 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.

 April 19, 2001, 06:45 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.

 April 19, 2001, 07:11 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

 April 19, 2001, 09:58 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.

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

October 29, 2014, 08:04
#6
New Member

Ganesh K C
Join Date: Oct 2014
Posts: 10
Rep Power: 2
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?

 Thread Tools Display Modes Linear Mode

 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 OffTrackbacks are On Pingbacks are On Refbacks are On Forum Rules

 Similar Threads Thread Thread Starter Forum Replies Last Post amirbahador FLUENT 12 May 31, 2015 07:37 colopolo CFX 13 October 4, 2011 22:03 james Phoenics 0 February 28, 2008 07:51 Dave FLUENT 0 February 2, 2008 18:14 adekian OpenFOAM Running, Solving & CFD 0 May 24, 2007 05:16

All times are GMT -4. The time now is 23:25.