
[Sponsors] 
April 21, 2019, 08:51 
Mesh Generation in Salome

#1 
Senior Member
Raza Javed
Join Date: Apr 2019
Location: Germany
Posts: 183
Rep Power: 4 
Hello Everyone,
My question is related to salome and I am sorry that I am asking this question in this forum because I couldn't find any way to register in salome forum. My geometry consists of one solid and this solid has one pipe engraved in it. I want to explode this pipe as a volume so that I can create a mesh of it, to model the fluid flow through it. Uptil now, I tried to do this, but I couldn't explode this pipe as a separate solid (volume). Is there any possible to do this? I shall be very thankful for your help. Thank you 

April 21, 2019, 09:24 

#2 
Senior Member
Join Date: Aug 2014
Location: UK
Posts: 213
Rep Power: 9 
Hi. You may want to provide some snapshots or files to evoke help, especially when the query is about geometric aspects of your simulation.


April 21, 2019, 13:25 

#3 
Senior Member
Raza Javed
Join Date: Apr 2019
Location: Germany
Posts: 183
Rep Power: 4 
Hello,
Thank you so much for your reply. I am attaching two images of my pipe geometry. This pipe is engraved in one wall of one box. I exploded all the patches or portions of the wall as faces to take the pipe out of it. Now I want to explode this pipe as a volume, so that I can model the fluid flow through it. because if I explode this pipe also as a face, then I can generate the mesh only at the surfaces of the pipe not inside the pipe. Is there any possible way to do it? And how can I generate a mesh of the complete wall including this pipe? 

April 21, 2019, 21:00 

#4 
Senior Member
Join Date: Aug 2014
Location: UK
Posts: 213
Rep Power: 9 
So, I may not have fully understood what you're trying to do from the images but I'll go with what seems pragmatic. I assume you're looking at a way to generate three distinct domains: a meshed domain of solid wall, a meshed domain of solid pipe thickness, and a meshed domain of fluid control volume.
The wall domain could initially be built using thickness/ solid volume and then exploded in to faces, one of which would have a deboss of pipe outer surface. The pipe domain could be generated by adding outer thickness to your surface part (pipe channel) and then exploded to generate a closed volume; just representing the thickness of the pipe The fluid domain would be generated by exploding a solid pipe volume, unlike an open channel as you have in your images The key is to generate these overlapping but separate geometries by faces forming closed/ fluidtight/ control volumes, while maintaining dedicated surfaces for every part (think of physically assembling these parts; sharing topology but not surfaces). The process to do so in Salome or other CAD software may differ in convenience and length; nevertheless, is your prerogative. Took a couple of minutes to put together a dummy representative assembly to illustrate better, in the images attached. There may be other workarounds or methods to achieve this but the core idea remains the same. 1.jpg 2.jpg 

April 22, 2019, 05:55 

#5 
Senior Member
Raza Javed
Join Date: Apr 2019
Location: Germany
Posts: 183
Rep Power: 4 
Hello,
Thank you so much for your reply. The basic construction of the geometry is the same as you sent. I have one box same like yours with one side/surface having a cut in the shape of pipe( as you have Ushape cut on the yellow box). And the top surface of the box (where you have Ushape cut) is covered with the simple plate to cover the cut. So, from outside the complete geometry looks like a simple box. But inside this box, there is pipe shaped cut (with one inlet and one outlet). And I have attached the shape of the pipe earlier. So now, the complete geometry consists of two regions patched together. One region is the solid with pipe cut on one surface, and the second region is the solid plate that is covering that surface of the first solid. As per my understanding, I need to separate the complete geometry into three volumes, 1. Top solid (that contains the pipe) 2. bottom solid (covering plate) 3. Pipe What I did is that I exploded the bottom solid as one volume and the top solid as another volume. Now I want to explode the pipe also as one volume, which I am unable to do because when I explode it, Salome doesn't give the option to do it as a solid. And I want the fluid to pass through this pipe, so I need to generate a mesh inside the pipe and also on the walls of the pipe, to check the fluid flow from each and every cell of the mesh. The images you sent are quite close to the geometry I have, So I want to know what is the possible approach the generate the mesh for this kind of geometry. I have tried to explain my case as good as I can. But if you need any further clarification, Please let me know. Thank you 

April 22, 2019, 08:55 

#6 
Senior Member
Raza Javed
Join Date: Apr 2019
Location: Germany
Posts: 183
Rep Power: 4 
And one more question I have here is that, How can we find the coordinates of a point in geometry in Salome?
for example, I have one box, and I want to know the (x,y,z) coordinates of some particular point of that box. What is the possible way to do this? Thank you 

April 23, 2019, 07:55 

#7  
Senior Member
Join Date: Aug 2014
Location: UK
Posts: 213
Rep Power: 9 
Quote:
Nevertheless, it seems like you're clear about the concept of separating the volumes as well as the geometries you would need; you'll just have to follow through tutorials to achieve this. Same goes for mesh, there are tutorials available online for constructing meshes in multiple separated domains. If you still struggle to achieve the geometry you need, then may be share your Salome file here on the forum and hope that someone could have a look at it. 

April 23, 2019, 07:57 

#8  
Senior Member
Join Date: Aug 2014
Location: UK
Posts: 213
Rep Power: 9 
Quote:


April 25, 2019, 07:08 

#9 
Senior Member
Raza Javed
Join Date: Apr 2019
Location: Germany
Posts: 183
Rep Power: 4 
Thank you so much for your reply, it was helpful.
I have one question about "fvOptions" in Openfoam. I have asked this question in the forum before but didn't get a helpful reply. If you can help, I would be thankful. I am trying to generate a heat source using Power of 10W using fvOptions file. So for this, I have given the value of 10 to "h" in fvOptions like below: Code:
heatSource { type scalarSemiImplicitSource; active true; scalarSemiImplicitSourceCoeffs { selectionMode all; // all, cellSet, cellZone, points // cellZone heatSrc; //cellSet c1; volumeMode absolute; // specific; injectionRateSuSp { h (10 0); } } } The temperature of my heat source is changing when I check it in paraview but I don't understand that how this power(W) is changing my temperature? What is the mathematical relationship between them? Also some people also say that this 'h' is Enthalpy, so I am confused that if this is enthalpy then how can I put my power directly in "h" ? Also I went through the solver log file to see how solver reads the fvOtption file. And it shows the following: Code:
Adding fvOptions Creating finite volume options from "constant/fvOptions" Selecting finite volume options model type scalarSemiImplicitSource Source: heatSource  selecting all cells  selected 10599 cell(s) with volume 123000 Code:
 selected 10599 cell(s) with volume 123000 Thank you 

Tags 
mesh, pipe, salome meshing 
Thread Tools  Search this Thread 
Display Modes  


Similar Threads  
Thread  Thread Starter  Forum  Replies  Last Post 
decomposePar problem: Cell 0contains face labels out of range  vaina74  OpenFOAM PreProcessing  37  July 20, 2020 05:38 
[Salome] Problems for creating mesh in salome to OPENFOAM  bye bye my blue  OpenFOAM Meshing & Mesh Conversion  4  November 4, 2019 05:00 
On bodyfitted cartesian mesh generation  sbaffini  Main CFD Forum  0  October 21, 2016 10:32 
[ICEM] Need urgent help for hybrid mesh generation  Pursuor  ANSYS Meshing & Geometry  1  August 29, 2012 16:04 
checkMesh and decomposePar crashes with salome IDEAS mesh  pajofego  OpenFOAM  0  June 23, 2011 08:43 