|
[Sponsors] |
May 3, 2013, 02:29 |
|
#41 |
Senior Member
Paritosh Vasava
Join Date: Oct 2012
Location: Lappeenranta, Finland
Posts: 732
Rep Power: 23 |
I can not share the CAD model as it belongs to some company. But here are SHM and files that I used to generate mesh.
Meanwhile I'll prepare another CAD model that I can share and come back here. |
|
May 3, 2013, 02:43 |
|
#42 | |
Member
Andreas Wendy
Join Date: Aug 2012
Posts: 73
Rep Power: 14 |
Quote:
andy |
||
May 3, 2013, 04:20 |
|
#43 |
Senior Member
Paritosh Vasava
Join Date: Oct 2012
Location: Lappeenranta, Finland
Posts: 732
Rep Power: 23 |
Meanwhile can you explain how AMI is generated?
|
|
May 3, 2013, 04:33 |
|
#44 |
Member
Andreas Wendy
Join Date: Aug 2012
Posts: 73
Rep Power: 14 |
Hi,
I normally work with OpenFOAM 1.6 extend with the integrated GGI. But the AMI should be more or less the same. 1. Create two seperate meshes. a) one for the static mesh b) one for the rotating mesh 2. Merge both meshes with "mergeMeshes". a) create a copy of one mesh and merge this copy with the other mesh mergeMeshes copiedCase otherCase 3. modify the boundary file of the merged mesh a) got to the merged case -> cobnstant -> polymesh. open the file boundary in a text editor b) have a look at the patches wich are the base of your AMI c) change first patch (e.g. AM1) AMI1 { type cyclicAMI; <- change type nFaces 22416; <- use here original data from boundary file startFace 1733766; <- use here original data from boundary file matchTolerance 0.0001; neighbourPatch AMI2; <- use name of patch from other mesh transform noOrdering; } d) do same procedure to the second ami-patch just with the other patch names. save the file and try to run the calculation with "pimpleDyMFoam" best wishes Andy |
|
May 3, 2013, 07:03 |
|
#45 |
Senior Member
Paritosh Vasava
Join Date: Oct 2012
Location: Lappeenranta, Finland
Posts: 732
Rep Power: 23 |
Thanks. I am trying it now. Hope it works.
|
|
May 6, 2013, 07:03 |
|
#46 | |
Senior Member
Paritosh Vasava
Join Date: Oct 2012
Location: Lappeenranta, Finland
Posts: 732
Rep Power: 23 |
Quote:
The second question: The merging operation seems to work fine but when I check the merged mesh the cellZones, faceZones and pointZones files are empty. What do you think is going wrong? |
||
May 6, 2013, 07:07 |
|
#47 | |
Member
Andreas Wendy
Join Date: Aug 2012
Posts: 73
Rep Power: 14 |
Quote:
snappyHexMesh -overwrite the zoning should be done after mergeing the meshes i think |
||
May 6, 2013, 09:11 |
|
#48 |
Senior Member
Paritosh Vasava
Join Date: Oct 2012
Location: Lappeenranta, Finland
Posts: 732
Rep Power: 23 |
Well I tried the '-overwrite' but the problem of empty files still persists.
By the way how do you make your stl file? Do you export it as one surface or export it as one file containing several surfaces (inlet, outlet, wall etc)? I will post this in the main forum as well. |
|
May 7, 2013, 03:34 |
|
#49 |
Senior Member
Paritosh Vasava
Join Date: Oct 2012
Location: Lappeenranta, Finland
Posts: 732
Rep Power: 23 |
Here is link to the case files. The case is minimal so you have to start from scratch. Sorry about that but the files were too big.
http://www.mediafire.com/?y9i5lj4b1xxw3cr Please let me know if you need something. I am working with the propeller example to see if I can find some hints. |
|
May 7, 2013, 05:22 |
|
#50 | |
Member
Andreas Wendy
Join Date: Aug 2012
Posts: 73
Rep Power: 14 |
Quote:
but my Computer has only few ressources left so it will take some time... andy |
||
May 7, 2013, 05:31 |
|
#51 |
Senior Member
Paritosh Vasava
Join Date: Oct 2012
Location: Lappeenranta, Finland
Posts: 732
Rep Power: 23 |
I appreciate your help. I am now following the propeller example where use of multiple stl files and AMI is demonstrated.
Thanks again. |
|
May 7, 2013, 08:35 |
|
#52 |
Member
Andreas Wendy
Join Date: Aug 2012
Posts: 73
Rep Power: 14 |
hi,
i just had a look at your case. your setup of geometry will not work this way. your sliding patch have to be of a cylindrical shape. but yours is not. even i would change the snappy hex mesh entries. i think it would be more easy to have a geometry of the rotating part of your mixer not of the fluid. the axis of your mixer is also moving so i would put it into the moving domain too. if the tank is cylindrical you may not need to create with a stl file. you can use blockMesh and snappy Hexmesh only. can you upload a stl/obj. file of the mixer only? andy |
|
May 7, 2013, 09:00 |
|
#53 |
Senior Member
Paritosh Vasava
Join Date: Oct 2012
Location: Lappeenranta, Finland
Posts: 732
Rep Power: 23 |
||
May 7, 2013, 09:18 |
|
#54 |
Member
Andreas Wendy
Join Date: Aug 2012
Posts: 73
Rep Power: 14 |
hi,
i need the geometrie of the tank and blades not of the computational area. |
|
May 8, 2013, 03:31 |
|
#55 |
Senior Member
Paritosh Vasava
Join Date: Oct 2012
Location: Lappeenranta, Finland
Posts: 732
Rep Power: 23 |
Here is the link to those files. http://www.mediafire.com/?xmzqjhcu354go3r
|
|
May 8, 2013, 09:58 |
|
#56 | |
Member
Andreas Wendy
Join Date: Aug 2012
Posts: 73
Rep Power: 14 |
Quote:
here you find the "cleaned" case. just run the Allrun file. The boundary ist changed by hand maybe you can automatize it. if you have quest just send a massage http://ubuntuone.com/3ZKPM8nv9xDgZaSkhsVcoO best wishes andy |
||
May 10, 2013, 04:17 |
|
#57 |
Senior Member
Paritosh Vasava
Join Date: Oct 2012
Location: Lappeenranta, Finland
Posts: 732
Rep Power: 23 |
I will check the case soon. Thank you very much for the help. I will get back if I am stuck somewhere.
|
|
May 24, 2013, 13:56 |
trying to generate oscillating motion
|
#58 |
New Member
Bhupesh
Join Date: Jun 2012
Location: Germany
Posts: 14
Rep Power: 14 |
I have successfully tried the cubo.tar.gz case that was uploaded earlier in this thread and i was able to run it successfully.
Now i want to change the rotation motion to osclillatinLinearMotion using same solidBodyMotionFvMesh only used in cubo example. For that I have changed the dynamicMeshDict file like this : /*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 2.1.0 | | \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; class dictionary; location "constant"; object dynamicMeshDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // dynamicFvMesh solidBodyMotionFvMesh; motionSolverLibs ( "libfvMotionSolvers.so" ); solidBodyMotionFvMeshCoeffs { cellZone region0; solidBodyMotionFunction oscillatingLinearMotion; oscillatingLinearMotionCoeffs { amplitude (3 0 0); omega 12.5892;//4*pi } } // ************************************************** *********************** // But I am not able to get the solution for it. It is showing following error at the end: #0 Foam::error:rintStack(Foam::Ostream&) in "/opt/openfoam220/platforms/linux64GccDPOpt/lib/libOpenFOAM.so" #1 Foam::sigFpe::sigHandler(int) in "/opt/openfoam220/platforms/linux64GccDPOpt/lib/libOpenFOAM.so" #2 in "/lib/x86_64-linux-gnu/libc.so.6" #3 double Foam::sumProd<double>(Foam::UList<double> const&, Foam::UList<double> const&) in "/opt/openfoam220/platforms/linux64GccDPOpt/lib/libOpenFOAM.so" #4 Foam::PBiCG::solve(Foam::Field<double>&, Foam::Field<double> const&, unsigned char) const in "/opt/openfoam220/platforms/linux64GccDPOpt/lib/libOpenFOAM.so" #5 Foam::fvMatrix<double>::solveSegregated(Foam::dict ionary const&) in "/opt/openfoam220/platforms/linux64GccDPOpt/lib/libfiniteVolume.so" #6 Foam::fvMatrix<double>::solve(Foam::dictionary const&) in "/opt/openfoam220/platforms/linux64GccDPOpt/lib/libincompressibleRASModels.so" #7 Foam::fvMatrix<double>::solve() in "/opt/openfoam220/platforms/linux64GccDPOpt/lib/libincompressibleRASModels.so" #8 Foam::incompressible::RASModels::kOmegaSST::correc t() in "/opt/openfoam220/platforms/linux64GccDPOpt/lib/libincompressibleRASModels.so" #9 in "/opt/openfoam220/platforms/linux64GccDPOpt/bin/pimpleDyMFoam" #10 __libc_start_main in "/lib/x86_64-linux-gnu/libc.so.6" #11 in "/opt/openfoam220/platforms/linux64GccDPOpt/bin/pimpleDyMFoam" Floating point exception (core dumped) please help me out with this...... |
|
June 5, 2013, 10:59 |
|
#59 |
Member
Andrew Glassby
Join Date: Sep 2009
Posts: 65
Rep Power: 17 |
Hi Linneman, I wonder if I could ask a couple of question of you about AMI.
I am trying to mesh a geometry (Similar in some respects to the mixerVesselAMI2D example) using snappyHexMesh I have split the geometry into moving and static then recombined after meshing. However my model is in 2D so I have followed the advice to flattenMesh then ExtrudeMesh between the castellatedMesh and the Snap stages of sHM. This seems to give me a really smooth looking mesh. I have hit a major problem though since when, after I manipulate the mesh, I run it using pimpleDymFoam my WHOLE domain rotates and not just the rotor (in the rotating zone). When I come to create the face and cell Zones is there a specific way in which I should do this? Also I understand from the discussion that AMI requires BOTH the moving and static face/cellZones to be created. I have tried to do this but still the WHOLE domain rotates. I wonder if I have generated some kind of bridge between the two zones while I am creating them?? Is it possible that topoSet or setSet doesn't like working in just 2D? having only 1 cell in the Z direction? is it possible to have a cellZone and a faceZone with only one cell in a given direction? Finally since I am working in 2D when I am meshing should I mesh with snappyHexMesh without the empty front and back patches (eg define them in blockMeshDict as patch or wall first) then convert them to empty at the end using createPatch? Sorry I have asked so many questions but I seem to be learning so much but not necessarily of the right stuff at the right time! Hope you can help me out. Best Regards Andrew |
|
June 6, 2013, 03:03 |
|
#60 |
Senior Member
Niels Nielsen
Join Date: Mar 2009
Location: NJ - Denmark
Posts: 556
Rep Power: 27 |
Hi to properly create the cellZones dont use topoSet or setSet when you have multiple meshes.
use this command instead Code:
splitMeshRegions -makeCellZones Best
__________________
Linnemann PS. I do not do personal support, so please post in the forums. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Solar Radiation in OpenFOAM | plainstyle | OpenFOAM Running, Solving & CFD | 15 | July 8, 2014 05:43 |
Simulation of a complex wing in solidworks flow simulation | niels1900 | FloEFD, FloWorks & FloTHERM | 6 | April 20, 2011 11:44 |
pimpleDyMFoam stability problems | cnsidero | OpenFOAM Running, Solving & CFD | 3 | January 29, 2011 13:36 |
Continuous vs interrupted simulation | sega | OpenFOAM Running, Solving & CFD | 4 | November 3, 2008 15:29 |
strange simulation error | Ralf Schmidt | FLUENT | 2 | May 4, 2007 14:02 |