CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Programming & Development

MHD Shocktube test

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 20, 2015, 09:34
Default MHD Shocktube test
  #1
New Member
 
Ved Mukherjee
Join Date: Nov 2015
Posts: 2
Rep Power: 0
vedlk is on a distinguished road
Hello, I have made a solver by merging the sonicFoam and mhdFoam.The B magnetic field density vector is coupled with rho to form compressible equation but the graph shows high oscillations and pressure and velocity graph is still the same,though I have added the magnetic terms in the equation. Can anybody explain me the reason behind these problems.
vedlk is offline   Reply With Quote

Old   November 22, 2015, 08:11
Default
  #2
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Quote:
Originally Posted by vedlk View Post
Can anybody explain me the reason behind these problems.
Quick answer: I would actually like to try and explain this, but I can't figure out what exactly is going on from your description
Please follow the instructions given here: http://www.cfd-online.com/Forums/ope...-get-help.html

Quote:
Originally Posted by vedlk View Post
but the graph shows high oscillations and pressure and velocity graph is still the same
I can't figure out if the high oscillations graph is the B field or not, or if it's residuals... or whatever it is exactly
wyldckat is offline   Reply With Quote

Old   November 25, 2015, 03:14
Default
  #3
New Member
 
Ved Mukherjee
Join Date: Nov 2015
Posts: 2
Rep Power: 0
vedlk is on a distinguished road
The graph is of B field. The pressure and velocity graphs are still the same as Euler's equations. I am asking what should I change ? Piso algorithm or something else
vedlk is offline   Reply With Quote

Old   November 28, 2015, 13:24
Default
  #4
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Hi vedlk,

I've taken a look into the two solvers and it is indeed possible that you might have confused something in the merger of the two solvers.
The last version of OpenFOAM to have sonicFoam in PISO form is 2.1.x: https://github.com/OpenFOAM/OpenFOAM...am/sonicFoam.C

As for the B graph, I guess you are referring to the residuals plot? If so, then it is possible that there was an implementation problem when merging the two solvers.

If you are referring to the B field itself, i.e. the results, it's possible that the results for the B field might actually make sense, depending on how the flow profile is going in the sonic range, because a very high pressure or high turbulence region can have significant impact on the electromagnetic profiles, since I can only imagine that the molecules do not take any specific orientation that would lead to a common magnetic orientation.

If using the sonicFoam from 2.1.x as a basis still gives you the same results/problems, then please follow the instructions given here: http://www.cfd-online.com/Forums/ope...-get-help.html

Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   June 13, 2016, 01:08
Default How to get the result after we run the MHD case in tutorial folder.
  #5
New Member
 
mohd nor hazwan bin hadzir
Join Date: May 2016
Posts: 8
Rep Power: 9
M.N Hazwan Hadzir is on a distinguished road
hello everyone,

i am new in OpenFoam user.
I have problems in producing result in MHD case. how i can take out the result data n graph from the simulation?
anybody can help me .
M.N Hazwan Hadzir is offline   Reply With Quote

Reply

Tags
graph result, mhd problem, result file


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
A new test harness for OpenFOAM mbeaudoin OpenFOAM Announcements from Other Sources 0 June 17, 2010 10:36
critical error during installation of openfoam Fabio88 OpenFOAM Installation 21 June 2, 2010 03:01
OF 1.6 | Ubuntu 9.10 (64bit) | GLIBCXX_3.4.11 not found piprus OpenFOAM Installation 22 February 25, 2010 13:43
Problems in compiling paraview in Suse 10.3 platform chiven OpenFOAM Installation 3 December 1, 2009 07:21
benchmark test case for MHD RT instability cou Main CFD Forum 0 May 7, 2007 09:38


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