12/10/2023 0 Comments Openfoam paraview courant number![]() PyRunner( command= 'sim. PyRunner( command= 'sim.deletePar( )',iterPeriod= 10, label='checkPar'),įluidCoupling, #to be called after timestepper GlobalStiffne ssTimeStepper( timestepSafetå oefficient= 0.7, label = "ts"), InsertionSort Collider(, allowBiggerThan Period= True), This function is called in O.engines as : eraseId( b) # erase a specific id from the coupling Hi, I have an ongoing issue with an FSI simulation that keeps going unstable on the OpenFOAM side - the max Courant number grows very large and the simulation crashes. getIdList( ) # get the ids of bodies in existing couplingįluidCoupling. rachaelesmith February 9, 2022, 10:46am 1. I would suggest to make the following changes in your Yade script : Modifications in the source code have been made to insert/delete bodies. Raise ValueError("Body velocity exceeds imposed shear velocity by ", abs(bodyVel-maxVel)) Proppant = JCFpmMat(type=2,young=Young_p,frictionAngle=FrictAng_p,density=Density_p,tensileStrength=TensileStr_p,cohesion=Cohesion_p,label='proppant') Raise ValueError("Body velocity exceeds imposed shear velocity by ", abs(bodyVel- maxVel) ) paraFoamalso makes sure that the OpenFOAM reader is used, and that the paraview GUI is modied according to the specications for OpenFOAM. Proppant = JCFpmMat( type=2, young=Young_ p,frictionAngle =FrictAng_ p,density= Density_ p,tensileStreng th=TensileStr_ p,cohesion= Cohesion_ p,label= 'proppant' ) It basically generates a le named .OpenFOAM, which is neces-sary since Paraview needs a le to be specied.#example of spheres in shear flow : two-way point force coupling InitMPI() #Initialize the mpi environment, always required.įluidCoupling = yade.FoamCoupli ng() #Initialize the engineįluidCoupling. When I was working with just Yade, I reset this parameter after O.step and then use the gui to run the rest of the simulation. I'm not too sure how to put the pyrunner before the fluidcoupling engine, I was also wondering how to reset the aabbEnlargeFactor after the first iteration.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |