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

[mesh manipulation] Tutorial AMI for beginner

Register Blogs Community New Posts Updated Threads Search

Like Tree7Likes
  • 7 Post By Tobi

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 10, 2015, 15:43
Default Tutorial AMI for beginner
  #1
Super Moderator
 
Tobi's Avatar
 
Tobias Holzmann
Join Date: Oct 2010
Location: Tussenhausen
Posts: 2,708
Blog Entries: 6
Rep Power: 51
Tobi has a spectacular aura aboutTobi has a spectacular aura aboutTobi has a spectacular aura about
Send a message via ICQ to Tobi Send a message via Skype™ to Tobi
Hi all,

today I added a new tutorial that is using sHM to create a AMI for a spiral conveyor (just very simple). Of course there are other ways to make the AMI interface (setSet and createPatch -> baffles) but here it is:

https://holzmann-cfd.de/
phsieh2005, cutter, fumiya and 4 others like this.
__________________
Keep foaming,
Tobias Holzmann

Last edited by Tobi; December 17, 2017 at 16:32.
Tobi is offline   Reply With Quote

Old   June 30, 2016, 09:05
Default
  #2
Member
 
alex
Join Date: Feb 2016
Location: chennai
Posts: 48
Rep Power: 10
crusen mind is on a distinguished road
hello holzmann
when I run spiral conveyor I am getting this error

- Update AMI patch infos / also changeDict could be used
./run: line 48: createPatch: command not found


-------------------------------------------------------------------------------
End Meshing





Start moving the mesh (could take a while)
-------------------------------------------------------------------------------

- Run application moveDynamicMesh
./run: line 67: moveDynamicMesh: command not found


-------------------------------------------------------------------------------
End of moving
crusen mind is offline   Reply With Quote

Old   June 30, 2016, 09:54
Default
  #3
Super Moderator
 
Tobi's Avatar
 
Tobias Holzmann
Join Date: Oct 2010
Location: Tussenhausen
Posts: 2,708
Blog Entries: 6
Rep Power: 51
Tobi has a spectacular aura aboutTobi has a spectacular aura aboutTobi has a spectacular aura about
Send a message via ICQ to Tobi Send a message via Skype™ to Tobi
Dear Alex,

as you can see from the messages there is a problem in your FOAM installation. createPatch is a foam application. If you load your foam variables and type createPatch you should get some output. You can check it like that:

Code:
source $HOME/.bashrc
which icoFoam
which createPatch
If there is no output for the last command, then your FOAM installation is not correct.
__________________
Keep foaming,
Tobias Holzmann
Tobi is offline   Reply With Quote

Old   July 29, 2016, 00:02
Default
  #4
Member
 
alex
Join Date: Feb 2016
Location: chennai
Posts: 48
Rep Power: 10
crusen mind is on a distinguished road
hi tobi
I am trying to run propeller simulation using PimpleDyM foam. my solution is not converging. please tell me if something is wrong. I will post my checkMesh, controlDict, Fv soltuion,files.

checkMesh File

PHP Code:
Build  4.0-665f1db4c1f1
Exec   
checkMesh
Date   
Jul 28 2016
Time   
11:36:29
Host   
"velan-OptiPlex-9020"
PID    3301
Case   : /home/velan/prop
nProcs 
1
sigFpe 
Enabling floating point exception trapping (FOAM_SIGFPE).
fileModificationChecking Monitoring run-time modified files using timeStampMaster
allowSystemOperations 
Allowing user-supplied system call operations

// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
Create time

Create polyMesh 
for time 0

Time 
0

Mesh stats
    points
:           43715
    faces
:            463930
    internal faces
:   437866
    cells
:            225449
    faces per cell
:   4
    boundary patches
5
    point zones
:      0
    face zones
:       0
    cell zones
:       2

Overall number of cells of each type
:
    
hexahedra:     0
    prisms
:        0
    wedges
:        0
    pyramids
:      0
    tet wedges
:    0
    tetrahedra
:    225449
    polyhedra
:     0

Checking topology
...
    
Boundary definition OK.
    
Cell to face addressing OK.
    
Point usage OK.
    
Upper triangular ordering OK.
    
Face vertices OK.
   *
Number of regions2
    The mesh has multiple regions which are not connected by any face
.
  <<
Writing region information to "0/cellToRegion"
  
<<Writing region 0 with 94543 cells to cellSet region0
  
<<Writing region 1 with 130906 cells to cellSet region1

Checking patch topology 
for multiply connected surfaces...
    
Patch               Faces    Points   Surface topology                  
    default_exterior    4376     2192     ok 
(closed singly connected)      
    
propeller           6596     3298     ok (closed singly connected)      
    
wall                11740    5964     ok (non-closed singly connected)  
    
outlet              1672     884      ok (non-closed singly connected)  
    
inlet               1680     888      ok (non-closed singly connected)  

Checking geometry...
    
Overall domain bounding box (-0.3 -0.5 -0.3) (0.3 0.55 0.299999)
    
Mesh has 3 geometric (non-empty/wedgedirections (1 1 1)
    
Mesh has 3 solution (non-empty) directions (1 1 1)
    
Boundary openness (1.79007e-16 1.7051e-16 1.35631e-15OK.
    
Max cell openness 3.87662e-16 OK.
    
Max aspect ratio 10.1853 OK.
    
Minimum face area 6.27344e-08Maximum face area 0.000731502.  Face area magnitudes OK.
    
Min volume 1.54049e-11Max volume 6.02718e-06.  Total volume 0.296711.  Cell volumes OK.
    
Mesh non-orthogonality Max60.8432 average18.7601
    Non
-orthogonality check OK.
    
Face pyramids OK.
    
Max skewness 1.11566 OK.
    
Coupled point location match (average 0OK.

Mesh OK.

End


control dict file 

PHP Code:
/application     pimpleDyMFoam;

startFrom       startTime;

startTime       0;

stopAt          endTime;

endTime         0.1;

deltaT          0.000001;
writeControl    adjustableRunTime;
writeInterval   0.001;

////- For testing with moveDynamicMesh
//deltaT          0.01;
//writeControl    timeStep;
//writeInterval   1;

purgeWrite      0;

writeFormat     binary;

writePrecision  6;

writeCompression off;

timeFormat      general;

timePrecision   6;

runTimeModifiable true;

adjustTimeStep  yes;

maxCo           2;

functions
{
    
#includeFunc Q
    #include "surfaces"
    #include "forces"


my Fv solution file


PHP Code:
solvers
{
    
pcorr
    
{
        
solver          GAMG;
        
tolerance       1e-2;
        
relTol          0;
        
smoother        DICGaussSeidel;
        
cacheAgglomeration no;
        
maxIter         50;
    }

    
p
    
{
        
$pcorr;
        
tolerance       1e-5;
        
relTol          0.01;
    }

    
pFinal
    
{
        
$p;
        
tolerance       1e-6;
        
relTol          0;
    }

    
"(U|k|epsilon)"
    
{
        
solver          smoothSolver;
        
smoother        symGaussSeidel;
        
tolerance       1e-6;
        
relTol          0.1;
    }

    
"(U|k|epsilon)Final"
    
{
        
solver          smoothSolver;
        
smoother        symGaussSeidel;
        
tolerance       1e-6;
        
relTol          0;
    }
}

PIMPLE
{
    
correctPhi          no;
    
nOuterCorrectors    2;
    
nCorrectors         1;
    
nNonOrthogonalCorrectors 1;
}

relaxationFactors
{
    
"(U|k|epsilon).*"   1;
}

cache
{
    
grad(U);

crusen mind is offline   Reply With Quote

Old   September 12, 2016, 12:18
Default
  #5
New Member
 
Damian
Join Date: Jul 2016
Posts: 2
Rep Power: 0
Cooltyvator is on a distinguished road
Can someone upload this tutorial? Link is unavailable.
Cooltyvator is offline   Reply With Quote

Old   September 12, 2016, 12:28
Default
  #6
Super Moderator
 
Tobi's Avatar
 
Tobias Holzmann
Join Date: Oct 2010
Location: Tussenhausen
Posts: 2,708
Blog Entries: 6
Rep Power: 51
Tobi has a spectacular aura aboutTobi has a spectacular aura aboutTobi has a spectacular aura about
Send a message via ICQ to Tobi Send a message via Skype™ to Tobi
Thanks for the note. I repaired the link (need a while after it will be available). Finally, you could solve the problem yourself if you took one minute to check out my site. Well here is the link: https://Holzmann-cfd.de

Maybe the new one is also of interest: http://www.cfd-online.com/Forums/ope...-tutorial.html
__________________
Keep foaming,
Tobias Holzmann

Last edited by Tobi; December 17, 2017 at 16:33.
Tobi is offline   Reply With Quote

Old   July 15, 2017, 05:07
Default
  #7
New Member
 
parth chavan
Join Date: Jul 2015
Posts: 5
Rep Power: 10
pthcvn1990 is on a distinguished road
Quote:
Originally Posted by Tobi View Post
Hi all,

today I added a new tutorial that is using sHM to create a AMI for a spiral conveyor (just very simple). Of course there are other ways to make the AMI interface (setSet and createPatch -> baffles) but here it is:
holzmann,

On clicking the new tutorial link, it is directing me to your login page. There is no option for registration.

May I know how to register for your website?

regards.

Last edited by Tobi; December 17, 2017 at 16:33.
pthcvn1990 is offline   Reply With Quote

Old   July 15, 2017, 05:17
Default
  #8
Super Moderator
 
Tobi's Avatar
 
Tobias Holzmann
Join Date: Oct 2010
Location: Tussenhausen
Posts: 2,708
Blog Entries: 6
Rep Power: 51
Tobi has a spectacular aura aboutTobi has a spectacular aura aboutTobi has a spectacular aura about
Send a message via ICQ to Tobi Send a message via Skype™ to Tobi
Hello,

I am sorry that you cannot access to my website right now because I am working on it. However, questions like yours make me sad because it demonstrates that people don't read anything :/. If you just read the two sentence that I provide you would know what is going on:


Quote:
Dear fellows, cfd enthusiasts and FOAM'er. I am working on my page. --> Numerical Schemes are going to be extended with a polygon mesh and all data are recalculated and automatized (scripts will be included that everybody can use it for the research). Kind regards, Tobias Holzmann
I am sorry that no one has actually access to it. I am working on it. Today in the evening my site should be available again.

Kind regards,
Tobias Holzmann
__________________
Keep foaming,
Tobias Holzmann
Tobi 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
AMI speed performance danny123 OpenFOAM 21 October 24, 2020 04:13
mapField error rvl565 OpenFOAM Pre-Processing 1 September 6, 2018 16:13
ICEM and AMI unfinished tutorial sharonyue OpenFOAM Running, Solving & CFD 11 September 24, 2014 10:15
mixerVesselAMI2D's mass is not balancing sharonyue OpenFOAM Running, Solving & CFD 6 June 10, 2013 09:34
Trouble with simple AMI case Horus OpenFOAM 0 February 26, 2013 09:31


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