CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Visualization & Post-Processing Software > EnSight

2D Representation of surface values in 3D

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By mrurq

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 19, 2016, 15:37
Default 2D Representation of surface values in 3D
  #1
New Member
 
Magnus
Join Date: Feb 2015
Posts: 7
Rep Power: 11
mrurq is on a distinguished road
Hello,

As the title says I would like to have a 2D representation of surface values that exist on a 3D surface. The case I am working on is a car where I would like to color the planform surface of the car by the summation of the surface values long an axis within a grid (does not have to be the grid used for cfd). I have attached a picture to make it clearer of what I mean.

In the case of the attached picture of the car I would like to sum all the surface values along the height of the car and then plot them on a planform representation of the car. This would allow me to post process faster since I wouldn't have to go into detail looking at the top surface, lower surface, under-hood, etc..

Hope this is possible to achieve,

Cheers,
Attached Images
File Type: jpg Illustration.jpg (63.3 KB, 25 views)
mrurq is offline   Reply With Quote

Old   February 19, 2016, 17:45
Default
  #2
Member
 
Marina G's Avatar
 
Marina Galvagni
Join Date: Apr 2014
Location: North Carolina, USA
Posts: 58
Rep Power: 12
Marina G is on a distinguished road
Hi,

Yes, this is possible. Give a look at the Calculator functions Radiograph_grid and Radiograph_mesh. They return the integration of a variable along a direction of the model. You can find in the Help -> User Manual -> Ch. 7.3 the details of these two functions, how to use them and the difference between the two of them.
You probably want to try first the Radiograph_grid function with a small number of integration points to see how they work and get familiar with them, and then increase the number of integration points or switch to Radiograph_mesh once you want to do the actual calculations. Keep in mind that these calculations are quite heavy, so it may take a while to get the final result.

Let us know if you have problems or questions.

Best Regards,
Marina Galvagni
CEI Software Support Engineer
Marina G is offline   Reply With Quote

Old   February 19, 2016, 18:59
Default
  #3
New Member
 
Magnus
Join Date: Feb 2015
Posts: 7
Rep Power: 11
mrurq is on a distinguished road
Hi Marina,

Thanks for the fast reply. Will try it out next week.

Kind regards,
Magnus
mrurq is offline   Reply With Quote

Old   February 22, 2016, 10:54
Default
  #4
New Member
 
Magnus
Join Date: Feb 2015
Posts: 7
Rep Power: 11
mrurq is on a distinguished road
Hello Marina,

When trying to integrate the values and plot them on a plane I get the error:

"An expression that returns a scalar, a vector, or computes a variable at an explicit node must have valid parts selected."

I want to integrate only the surface values is it possible to use Radiograph_grid on surface values only? I am able to plot values that exist in the entire domain such as velocity.



Kind Regards,


Magnus



Edit:

I added a small test case attached to the message. The scalar "Fz_cell_front_wheel" is what I want the integral of in Z-direction plotted as a 2D surface.
Attached Files
File Type: zip Test_Case.zip (33.0 KB, 3 views)

Last edited by mrurq; February 23, 2016 at 08:29.
mrurq is offline   Reply With Quote

Old   February 24, 2016, 15:22
Default
  #5
Member
 
Marina G's Avatar
 
Marina Galvagni
Join Date: Apr 2014
Location: North Carolina, USA
Posts: 58
Rep Power: 12
Marina G is on a distinguished road
Hi Magnus,

Unfortunately there isn't a way to do this in EnSight. The Radiograph_* functions require you to have a 3D part, over which the calculation is done. Therefore, you would need to export from the solver a 3D part where the variable is zero everywhere, and has a value only where the surface parts of the car would be. With this kind of model, you can use Radiograph_* to calculate the sum of the variable over a column.

Hope this helps. Sorry there isn't an easier solution.

Best Regards,
Marina Galvagni
CEI Software Support Engineer
Marina G is offline   Reply With Quote

Old   February 24, 2016, 17:02
Default
  #6
Member
 
Marina G's Avatar
 
Marina Galvagni
Join Date: Apr 2014
Location: North Carolina, USA
Posts: 58
Rep Power: 12
Marina G is on a distinguished road
Magnus,

After discussion with some colleagues, we found a way to get what you're asking for in EnSight with your test model. The trick is that we use the "extrude" feature to form a 3D part from your surface part, and then use this new 3D part to create the plane on which you'll calculate the radiograph_* functions.

I have uploaded at the link:

https://www.transferbigfiles.com/830...v1Y5A_5GG6h-Q2

a screenshot video (with audio) that shows you the steps with the test model you sent us.

Hope this helps you. Keep in mind that EnSight is designed to analyze already existing data, not really to create new data - so the extrusion trick works in this case, but it'd always be better if you could get this kind of parts from your solver.

Let me know if you have questions.
Bests,

Marina
Marina G is offline   Reply With Quote

Old   February 25, 2016, 06:01
Default
  #7
New Member
 
Magnus
Join Date: Feb 2015
Posts: 7
Rep Power: 11
mrurq is on a distinguished road
Hi Marina,

This is exactly what I need. Thanks for going out of your way and creating a tutorial vid for it. Excellent support!!

Best regards,

Magnus
Marina G likes this.
mrurq 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
Wrong values next to a surface with stepwise property function Siegunn OpenFOAM Running, Solving & CFD 0 August 17, 2015 11:01
[Gmsh] Problem with Gmsh nishant_hull OpenFOAM Meshing & Mesh Conversion 23 August 5, 2015 03:09
[snappyHexMesh] Problem with Sanpper, surface still Rough Zephiro88 OpenFOAM Meshing & Mesh Conversion 7 November 5, 2014 13:05
Need help with irregular surface values highhopes FLUENT 0 August 5, 2013 14:43
Need help about irregular surface values highhopes Main CFD Forum 0 August 4, 2013 20:11


All times are GMT -4. The time now is 02:11.