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

[mesh manipulation] issues with mesh/patchfields in kivaTest

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 5, 2021, 05:45
Smile issues with mesh/patchfields in kivaTest
  #1
New Member
 
Antonio
Join Date: Mar 2021
Posts: 1
Rep Power: 0
totò skillato is on a distinguished road
Hello everyone, I'm doing a simulation of combustion in a single cylinder with closed valves. The fluid domain (the volume occupied by the gas with closed valves) was created using SolidWorks, then I exported the model to Ansys Workbench to create the mesh. Since I wanted to make a good mesh, I divided the body into different parts and gave each of them a name (cil_top and others, pic 1 http://imgur.com/a/XoVxo9z), after which I used the "form new part" option to have a single solid formed by multiple parts, so that the mesh was continuous. In the mesh modeler I used the options that gave me the result that can see in pic 2 (http://imgur.com/a/XoVxo9z), more specifically a sweep method in the central part (which ensured me to have a regular, structured mesh where the body is more regular, a cylinder), a patch conforming method in the extreme parts of the cylinder and an automatic method on the part of the cylinder head and piston, which are more irregular.
At this point, since I should have used the engineFoam combustion solver (in particular I am using the kivaTest tutorial, for my purposes it is more than enough) I have named the chamber surfaces "cylinderHead", "piston" and "liner", so that the solver automatically recognizes the boundary conditions. I changed the mesh from binary to ASCII, I exported it; I created a folder by copying the kivaTest tutorial; I put the mymesh.msh file inside the kivaTest folder, instead of otape17 (my version of openFoam is from 2017); I set all the necessary settings, in particular I wrote the lines of code in engineGeometry to start the swirl in the room and set the swirl ratio; in the terminal I entered the command "fluent3DMeshToFoam mymesh.msh" to convert the mesh, after which I launched the command "engineSwirl".
From here the problems start, because, trying with different meshes, I have the error in pic 3 (http://imgur.com/a/XoVxo9z). I think I understand, opening the "U" file in the "-180" folder, that he is looking for the "cil_top" part or, in any case, the part that has cil_top in the name and cannot find it because in the U file they are only set , by default, "cylinderHead", "piston" and "liner" and no other user-defined parts. Now my problem is precisely this: I have not defined (and I do not want to define) any further part, since the three parts mentioned above are enough for me, since cil_top is a solid that shares a surface (part of it) with cylinderHead, and another part with liner.
A further problem is that I would like, exploiting the symmetry of the domain, to divide the camera in half and simulate only half of the domain, introducing an additional "symmetry" surface. But at this point I don't know how to do it, that is, I should necessarily introduce the other parts in the U file and define them as those already present, and in this case as I do for "symmetry", which is not comparable to either "cylinderHead" or " liner "nor a" piston "?
That is, I should introduce all the new parts inside the U file (for example the "cil-top" part and defining the type, for example "NoSlip" as for the others) and - I guess - in all the other "-180" scripts , such as p and T (if I needed the results of these two quantities too), or would there be a simpler and faster way?
I hope I have explained myself, unfortunately I can't be clearer than that because I haven't used openFoam for a long time and I am a beginner, however if something is not clear to you or you need further details or information, do not hesitate to let me know.

Last edited by totò skillato; March 5, 2021 at 10:09.
totò skillato is offline   Reply With Quote

Reply

Tags
#cylinderhead, #engineswirl, #kivatest, #liner, #patchfield

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
chtMultiRegionSimpleFoam issues - non-conformal meshes & residual handling... manalis OpenFOAM Running, Solving & CFD 3 October 10, 2018 18:53
Convergence issues for Flat plate with sharp edge rajnarayang FLUENT 3 June 20, 2017 12:02
[ANSYS Meshing] Multizone issues (on my project) crenaudo ANSYS Meshing & Geometry 8 April 13, 2016 02:59
Multigrid Stability Issues ThomasHermann SU2 1 November 5, 2014 16:18
[General] Some Paraview Issues I can not solve MR_Chicho ParaView 1 September 24, 2012 05:03


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