plasmapotential / heat Goto Github PK
View Code? Open in Web Editor NEWHeat flux Engineering Analysis Toolkit
License: MIT License
Heat flux Engineering Analysis Toolkit
License: MIT License
Example:
When running openFOAM over 10,000ms, I have selected deltaT = 0.01 and write deltaT to 0.1. When this happens, the temp (and heat flux) fields are output every 0.1s, with the interpolated heat flux (only) also output every 0.01s. It then seems as if heat is unable to create a foam file containing the temperature when this is the case. When deltaT and write deltaT as exactly equal, you do not get these intermediary folders created (the ones containing only the heat flux), and heat is able to create the temperature field in the foam file.
I suspect heat looks for fields which are common amongst all the folders, including in those that didn't actually have new data (T etc) in them (only containing the extrapolated heat flux), and hence as heat flux is the only common field amongst all folders, that is the only one that survives to the output foam file.
Hi,
I am running HEAT in WSL, data directory is not changing and data are stored in same directory (/home/'username'/HEAT/data/) even after I mention new data directory in GUI. I want to store the data into other drives like "/mnt/e/...".
Can you please help to solve this issue.
Thanks
Recent bug fix only applies when using Gaussian Spreading heat flux profile. Testing with Multi-Exponential with large width bypasses the fix in heatFlux.scaleHF_fluxspace.
Reminder for setting environment variable for HEAT use on HPC cluster
When a user first creates mesh from STP file and uses to calculate heat fluxes, everything goes fine. But when user loads an existing mesh, the heat fluxes are 0.
It was observed that there was a permutation in the mesh triangle vertex indices. When HEAT creates the mesh object the vertex order was 1 2 3, and when it saves an STL mesh (and then subsequently loads it) the vertex order is 3 1 2
For example, look at this print(mesh.Facets[10]) from an example mesh.
Created in HEAT:
Facet ((1288.56, 31.6523, -1197.88, Idx=14), (1283.09, 55.46, -1201.92, Idx=12), (1287.78, 32.3516, -1198.54, Idx=13), Idx=10, (75, 9, 1770))
Loaded via STL:
Facet ((1287.78, 32.3516, -1198.54, Idx=18), (1288.56, 31.6523, -1197.88, Idx=21), (1283.09, 55.46, -1201.92, Idx=0), Idx=10, (1770, 75, 9))
It has been discovered that there is a bug in the existing MT algorithm that does not handle intersection triangle vertex permutations correctly in the function intersectTestParallelMT
This will be patched with a new MT algorithm (updated vector algebra) in a future commit. Users can opt to use the "SV" algorithm instead of MT by passing "SV" into intersectTestBasic
and intersectTest2
in pfcClass.py. When the patch is committed, and then when a new appImage release is provided, this issue will be update.
Hi Tom,
Manoj from UKAEA.
I followed the steps for the installation of HEAT with docker (v3). Everything went well but the GUI is not working well.
GUI looks different (picture attached) as well as giving errors while loading the files (input, eqdsk,..)
I have also included docker-compose.yml and runDockerCompose
Here is a post you could participate in: https://forum.freecadweb.org/viewtopic.php?f=8&t=50750
The field line trace option in HEAT currently only allows for a single launch point when using the GUI. Future features that allows for a series of launch points that are read from a file would be beneficial for larger work loads.
When you load an input file via drag and drop, and the shot value should be padded (ie shot # 3), MAFOT misses the padding. For example, when loading an input file with "shot, 3" the gfile becomes g3.00001 in MAFOT and the field line trace fails because it cannot locate the gfile. put this issue in HEAT until MAFOT is patched.
MAFOT needs the following patch at ~ line 362 in efit_class.hxx:
for(i=1;i<=6-int(ShotNr.len());i++) ShotNr.insert('0'); //insert zeros until ShotNr has a length of 6
Can the AppImage include FreeCAD and fix the following:
/tmp/.mount_HEAT_AqoH3hc/usr/src/dashGUI.py:132: UserWarning:
The dash_html_components package is deprecated. Please replace
`import dash_html_components as html` with `from dash import html`
import dash_html_components as html
/tmp/.mount_HEAT_AqoH3hc/usr/src/dashGUI.py:133: UserWarning:
The dash_core_components package is deprecated. Please replace
`import dash_core_components as dcc` with `from dash import dcc`
import dash_core_components as dcc
/tmp/.mount_HEAT_AqoH3hc/usr/src/dashGUI.py:139: UserWarning:
The dash_table package is deprecated. Please replace
`import dash_table` with `from dash import dash_table`
Also, if you're using any of the table format helpers (e.g. Group), replace
`from dash_table.Format import Group` with
`from dash.dash_table.Format import Group`
import dash_table
QIconvCodec::convertFromUnicode: using Latin-1 for conversion, iconv_open failed
FreeCAD 0.18.4, Libs: 0.18.4R
No modules found in /tmp/.mount_HEAT_AqoH3hc/usr/lib/freecad-python3/Mod
During initialization the error No module named 'freecad' occurred
Directory /home/ITER/kosl/HEAT/data/tmpDir/ Created
Select a machine before loading MHD parameters
Initializing HTML PFC data storage object
Initializing HTML PFC data storage object
Select a machine before uploading input file
Initializing Data Store
Machine not in machine list
Updating Session Store
Initializing Data Store
Machine not in machine list
Updating Session Store
...
Hi, I am interested in your project and I tried to get the animation in my Ubuntu system. In fact I am going to get a program which shows simulation of divertor.
But I am not sure how I can get animation as you showed in README file.
I have also installed ParaView in Ubuntu.
Could you teach me with below two questions?
Hi Tom,
Is it possible for you add/change the visualization of the results (colouring), i.e, colouring the element instead of the integration points or give flexibility for user to choose both (colouring in element and integration points).
Thanks
Manoj
Good day all,
First of all, thank you for developing this tool and keeping it up and running as open code.
I think it is fair to say I am new to this (i.e. Linux in general and using development codes specifically), but I wanted to get familiar with HEAT after hearing about it.
When trying to install HEAD v3 following the instructions the following error pops when initiating the docker container:
After this I can't connect to the GUI via web browser.
Am I missing something obvious (missing a lib in my desktop) or is this library missing from the source code (I got it from git yesterday)?
Kind Regards,
Victor
For some reason I can't get the user-define heat flux mode to work when running HEAT using a batch file. When I run a specific step and PFCinput file in the GUI and select "User Defined" heat flux width source, I get a different result from when I try to run the same inputs using a batch file. When I save settings into input file after setting the heat flux width source to user defined in the GUI, the hfMode comes up blank in the input file, so I thought that's how it was meant to be for the batch file.
I've tried both leaving the hfMode blank and setting it to "user" in the input file but both times it seems to revert to default settings and using Eich15, hence giving me different results from running it from the GUI.
Am I doing something wrong (quite likely) or is using user defined hfMode not supported when running in batch-mode?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.