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

Comsol Magnetic field data to Fluent MHD

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 5, 2014, 21:00
Default Comsol Magnetic field data to Fluent MHD
  #1
New Member
 
Dinushke
Join Date: Aug 2013
Location: Victoria, Australia
Posts: 13
Rep Power: 12
dean993 is on a distinguished road
Hi,
Does anyone know how to exactly transfer magnetic field data to the external magnetic field option in the fluent MHD module. From what I see the external mag. field data format in the fluent mhd is quite strange (see attachment).

Thanks,
Dean
Attached Images
File Type: jpg Ext_fluent.JPG (33.8 KB, 69 views)
dean993 is offline   Reply With Quote

Old   December 17, 2018, 04:32
Default
  #2
New Member
 
Eduard
Join Date: Dec 2018
Posts: 3
Rep Power: 7
eduardvinter is on a distinguished road
For someone, this topic remains relevant.
Can anyone explain the structure of the file that dean993 attached?
What does "data point" mean in the MHD fluent manual?

Last edited by eduardvinter; December 17, 2018 at 05:52.
eduardvinter is offline   Reply With Quote

Old   December 17, 2018, 07:54
Default
  #3
Senior Member
 
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,704
Rep Power: 66
LuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura about
You just provide a big giant list in the order given

nX = number of x coordinates
nY = number y coordinates
nZ = number of zcoordinates

X1 thru Xn, listall the x coordinates up to nX in number
Y1 thru Yn, list all the y coordinates up to nY in number
Z1 thru Zn, list all the z coordinates up to nZ in number

nAc freq

BXre means real part of Bfield in X-direction,

BXim means imaginary part of Bfield in Y-direction
LuckyTran is offline   Reply With Quote

Old   December 17, 2018, 08:28
Default
  #4
New Member
 
Eduard
Join Date: Dec 2018
Posts: 3
Rep Power: 7
eduardvinter is on a distinguished road
This part of the file is clear.

I encountered a misunderstanding of the term "data point" in the manual.

Information from the Appendix C of MHD module manual:

Quote:
The rest of the data file contains the magnetic field data points. Each line defines the components of
the real and imaginary parts of the magnetic field vector on one data point. The data points are indexed
as:
l=i+nX((j-1)+nY(k-1))
i=1,...,nX, j=1,...,nY; k=1,...,nZ
The data is listed in the ascending order from 1 to n, where n is the total number of data points given
by n= nXnYnZ.
As I understood l is a line number in the array of B.

For instance, I have an alternating magnetic field calculated in ANSYS APDL. I can write APDL macro for extracting magnetic field induction from each element, but I have to extract this magnetic field induction from each data point. What is it?

Thanks
eduardvinter is offline   Reply With Quote

Old   December 17, 2018, 12:31
Default
  #5
Senior Member
 
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,704
Rep Power: 66
LuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura about
The meaning of external is that it comes from some black box without any meaning. You have fields at x,y,z. Just list them. It doesn't matter to the interpreter whether they come from faces/cells/nodes.
LuckyTran 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
Foam::error::PrintStack almir OpenFOAM Running, Solving & CFD 92 May 21, 2024 07:56
high continuity Fluent modeling ABL with WRF/CALMET data xitao21 FLUENT 1 May 2, 2019 10:20
[Commercial meshers] fluentMeshToFoam multidomain mesh conversion problem Attesz OpenFOAM Meshing & Mesh Conversion 12 May 2, 2013 10:52
computational MHD flows, boundary conditions packer Main CFD Forum 0 March 21, 2006 03:35
How to update polyPatchbs localPoints liu OpenFOAM Running, Solving & CFD 6 December 30, 2005 17:27


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