The Siemens Community Catalyst program was co-created with our community to acknowledge technology leaders who consistently contribute to the Siemens Community. Nominations are accepted on a rolling basis.
I want to get the average temperature of given volume after running CFD simulation. How can I get the average temp of volume in postprocessing
Hi, avb
I'm not familiar with CFD simulation, but I think the operation is the same .
First, open the result file and plot the contour type (temperature) you want
Second, open query panel and select the element required, turn on all the query fileds, query the elements' temperature and export the query result to a csv file. Then calculate the average temperature you want.
Just like the picture below
Hi, avb I'm not familiar with CFD simulation, but I think the operation is the same . First, open the result file and plot the contour type (temperature) you want Second, open query panel and select the element required, turn on all the query fileds, query the elements' temperature and export the query result to a csv file. Then calculate the average temperature you want. Just like the picture below
I was looking for some other method.
But thanks again this is useful for small number of nodes
Thanks Nagahashi for your reply. This method is useful but my model is very big and when I try to select all the nodes, hyperview crashes.I was looking for some other method.But thanks again this is useful for small number of nodes
Thanks Nagahashi for your reply. This method is useful but my model is very big and when I try to select all the nodes, hyperview crashes.
May I know the approximate number of nodes you are querying?
The folloeing commands may help you, it deals with about two million nodes in one minute.
set t 1hwi OpenStack hwi GetSessionHandle sess$t sess$t GetProjectHandle prj$t prj$t GetPageHandle pg$t [prj$t GetActivePage] pg$t GetWindowHandle win$t [pg$t GetActiveWindow] win$t GetClientHandle cln$t cln$t GetModelHandle mdl$t [cln$t GetActiveModel] set setid [ mdl$t AddSelectionSet node ] mdl$t GetSelectionSetHandle node$t $setidnode$t Add "displayed" mdl$t GetQueryCtrlHandle qry$t qry$t SetQuery "node.id,contour.value" qry$t SetSelectionSet $setid qry$t WriteData result1.csv mdl$t RemoveSelectionSet $setidhwi CloseStack
The newly generated file "result1.csv" is saved in the current working directory(for example :C:\Users\sakihama\Documents\result1.csv)
Hi, avb May I know the approximate number of nodes you are querying? The folloeing commands may help you, it deals with about two million nodes in one minute. set t 1hwi OpenStack hwi GetSessionHandle sess$t sess$t GetProjectHandle prj$t prj$t GetPageHandle pg$t [prj$t GetActivePage] pg$t GetWindowHandle win$t [pg$t GetActiveWindow] win$t GetClientHandle cln$t cln$t GetModelHandle mdl$t [cln$t GetActiveModel] set setid [ mdl$t AddSelectionSet node ] mdl$t GetSelectionSetHandle node$t $setidnode$t Add "displayed" mdl$t GetQueryCtrlHandle qry$t qry$t SetQuery "node.id,contour.value" qry$t SetSelectionSet $setid qry$t WriteData result1.csv mdl$t RemoveSelectionSet $setidhwi CloseStack The newly generated file "result1.csv" is saved in the current working directory(for example :C:\Users\sakihama\Documents\result1.csv)
Thanks a lot. This method works!!
Join us for a community conversation on how High-Performance Computing (HPC) and Simcenter PSIM work together to meet the increasing demands of modern power electronics simulation. During this one-hour technical session, you'll discover how leveraging HPC can speed up simulations, improve scalability, and empower engineers…
Join us for a community conversation on accelerating your motor simulation workflow with Simcenter Simlab. In this beginner-friendly session, we'll introduce the platform's automated model-building capabilities and show how easy it is to set up your first electric motor analysis. You'll see the basic steps of geometry…
Join us for a Community Conversation where we'll discuss practical approaches to analyzing complex electromagnetic models using hybrid solver techniques. This session will provide a general overview of how different computational methods can be combined within a single simulation to address models containing varied…