Sie sind auf Seite 1von 128
+WOO-YVLS uM solneJipA} je}uewuUOoJlAUy pue ABojospAY eames Hydrology and Environmental Hydraulics with STAR-CCM+ Training Schedule Day 1 Day 2 Morning Session | Lecture ecture/Domo 30-CAD, Geometry Data import & Surface | Wave Generation Boundary Conditions using VOF Wrepping Waves Workshop Lecture Geometry impor, Surface Repair & Surface | Inroduetion to Muit-DOF Analyses (DFBI) Wrapping ‘Afternoon Session | Lecture Workshop Free Surface Meshing & Analysis Strategies _| Heave Response ofa Floating Buoy and Best Practices Workshops Workshop Free Surface Analysis of en Oblique Hycraulic Free Surface Analysis of Flow in a River Bed | Pump Lecture/Demo Reviow & Open Session (Time Permitting) Post-Processing of Marine Analyses re SS 3D-CAD, Geometry Data Import & Surface Wrapping Govirtale 9 29g DOD. 2aagcTRe Selig mote sial con AMEE Gotta 3 Rie CDasnpce waiting coujee emia “yccology & En vironfeeritel Bysraulios Sn shanks el be atered, eiaed or disnabaed un tnout ire cOaeegt atthe atthen Overview - Complex geometries are typically built from CAD data + STAR-CCM+ can read a number of CAD formats CAD data must be clean and closed (watertight) in order to be used for meshing - Cleanup of CAD data can consume a significant portion of the modeling task STAR-CCM+ offers several capabilities that can aid you in your handling of CAD data: - Read a number of CAD formats - Surface Repair for non-closed / non-manifold CAD data - Surface Wrapping for messy CAD data - Surface Remeshing for improved surface triangulation ican the"ebiadopco waning course ented “iyerlogy 8 Enaonmenia! CADGoomirap 2 Hydraulics” and may not be altered, edited or distributed without the consent v6.06 of the author. CAD Import CAD data surfaces can be imported using the Import Surface... Feature Can be accessed from the main menu (see adjacent), + or from the Mesh toolbar: @oue Hydraulics” and may not be altered, edited or distributed without the consent Copyright © 2008-2011 CD-adapco. The above material constitutes @ portion of the, CDadepee training course, entitled “Hydrology & Environmental CADGEomWrap-3 ‘CD-adapco v6.06 of the author, Supported CAD Import Formats + Surface mesh formats: -dbs — pro-STAR surface database mesh file + inp - pro-STAR celivertex shell input fle + nas - NASTRAN shell fle -pat - PATRAN shell file -stl - Stereolithography file ro ~ FELISA front surface file + JT Open surface file + Neutral file formats: igs Liges - intial Graphics Exchange Specification file + stp listep - Standardized Exchange of Product fle -vda - Verband der Automobilindustrie surface data exchange file. “Xt /x_b - Parasolid Transmit file + Native CAD formats (requires additional license): .sldprt/.sldasm ~ Solidworks files prt / asm ~ Pro/ENGINEER files «model / .exp/.session ~ CATIA v4 files + .catpart/.cadproduct / gr - CATIA flles + prt Unigraphics NX files pt iam — Autodesk Inventor files Copyright © 2008-2011 CD-adapco. The above material constitutes a portion of the CD-adapco training course entitled “Hydrology & Environmental CADGeomWrap-4 (CD-adapeo — Hydraulics” and may not be altorod, edited or distributed without the consont v6.08 ‘of the author. CAD Import Options: Regions - Boundary Mode: Determines how different faces that have been identified in the CAD data file are @ impor Sutace Options imported into STAR-CCM+ and converted into ped boundaries. ] Ocreserentot - Region Mode: Determines how regions will be bison created based on the geometric data contained in Frenne eee eee the file coven lnieeabai + Mark Feature Edges: CAD data import formats do | w, Geaemen not support feature curves, so this provides the | a option to generate them during the import process Tessellation Density: Determines the curvature angle of the imported geometry. It is recommended to start by importing using one of the coarse options | "tc and then reviewing the surface triangulation to see if i oa econ rood) the geometry should be re-imported at a higher i density. Note that tessellation density has no effect on triangulation of planar surfaces Copyright © 2009-2011 CD-adapco. The above material constitutes a portion of the CD-adapco training course entitled “Hydrology & Environmental CADGeomWrap-5 CD-adapeo — Hydraulics” and may not be altered, edited or distributed without the consont v6.06 of the author. ManFese tages: [Sha cao does Sharp Ege Aol 99 Tesseatendenety [Mad CAD Import Options: Parts Mark Feature Edges: CAD data import formats do not support feature curves, so this provides the option to generate them during the import process Tessellation Density: Determines the curvature angle of the imported geometry. It is recommended to start by importing using one of the coarse options and then reviewing the surface triangulation to see if the geometry should be re-imported at a higher density. Note that tessellation density has no effect on triangulation of planar surfaces Merge Parts by Name: Bodies in the imported assembly with the same name will be merged into one part automatically; otherwise, each body will become its own part regardless of name Create Part Contacts from Coincident Faces: Imported CAD faces are searched for pairs of coincident faces and Contacts are created ‘Copyright © 2009-2011 CD-adapoo. The above material constitutes a portion of the CD-adapco training course entitled “Hydrology & Environmental CADGeomWrap-6 (CD-adapco Hydraulics” and may not be altered, edited or distributed without the consent v6.06 of the author. Introduction to 3D-CAD 3D-CAD Modeler: _ Fully parametric, Sketch based This enables you to: - Create a geometry - Modify an imported geometry - Create shapes for mesh refinement or reporting surfaces - Editing incomplete CAD models Training shows how 3D-CAD integrates into the STAR-CCM+ - Interplay of CAD Bodies, Geometry Parts, and Regions » The geometry pipeline automatically recognizes design changes, . Remesh and run again is all you need to do Copyright © 2009-2011 CO-adapco. The above material constitutes a portion of, EL the CD-adapco training course entitled “Hydrology & Environmental CADGeomWrap.7 (CD-adapco Hydraulics” and may not be altered, edited or distributed without the consent v6.06 cof te author Sketching in 3D-CAD Sketching - Points, lines, boxes (axis aligned or arbitrarily oriented), circles, circular arcs, ellipses, splines - Constraints acting on: » Points: fixing location » Lines: axis alignment, parallel, perpendicular » Circles: concentric » Apoint and a line: midpoint, coincidence Adding invisible construction lines allows constraining other sketch objects - Dimensions: » Arbitrary angle, distance, radius Hydraulics” and may not be altered, edited or distributed without the consent v6.06 Copyright © 2009-2011 CD-adapco. The above material constitutes a portion of the CD-adapco training course entitled “Hydrology & Environmental CADGeomWrap-8 ‘CD-adapco of the author. Creating Solid Bodies in 3D-CAD Body creation and manipulation - Extrude and extrude cut » Normal to sketch or in user specified direction - Revolve and revolve cut » Revolution axis is defined by the construction line of the sketch - Loft and loft cut - Chamtfer, Fillet Duplicate, translate, rotate, scale - Boolean: Intersect, unite, subtract, extract external or internal volume, imprint Copyright © 2009-2011 CD-adapco. The above material constitutes a portion of the CD-adapco training course entitled “Hydrology & Environmental CADGeomWrap-9 FCD-adapco Hydraulics” and may not be altered, edited or distributed without the consent v6.08 of the author. 3D-CAD Look & Feel . The STAR-CCM+ tree’ Geometry node is extended - Creating a new 3D-CAD body opens two new tabs: scene/plot & 3D-CAD » Temporary 3D-CAD View Scene shows the current model's design » 3D CAD shows the construction hierarchy Copyright © 2009-2011 CD-adapco. The above material constitutes a portion of the ‘CD-adapco training course entitled “Hydrology & Environmental CADGeomWrap-10 Hydraulics" and may not be altered, edited or distributed without the consent v6.06 of the author. What is Dirty CAD? = Acollection of CAD parts that need to be combined into a single surface for meshing Examples include automotive underhoods and complex assembles, e.g. generators _ In such cases, individual components often do not fit together perfectly, i.e. their volumes overlap or surfaces potentially interfere with each other. A very detailed CAD part that contains too much detail for CAE analysis _ Such parts need to be de-featured prior to constructing a computational mesh . ACAD part that contains internal or external geometrical details that are not relevant to the CAE simulation and need to be discarded ~ €xample: ship structural internals when conducting a hydrodynamic resistance calculation - An assembly of parts containing gaps where fixtures (welds, screws, rivets, etc.) are to be placed. Without closure these gaps are likely to prevent meshing or can lead to features significantly smaller than the domain of interest. Hydraulics” and may not bo altered, edited or distributed without the consent v6.08 Copyright © 2008-2011 CD-adapco. The above material constitutes a portion of the CD-adapco training course entitled “Hydrology & Environmental CADGeomWrap-11 (CD-adapco of the author. STAR-CCM+ Surface Mesh Requirements - Closed: No free edges or mismatches + Manifold: Only two triangles can share any particular edge + Non-intersecting: Surface does not intersect with itself + Triangulation Quality: - Triangles should be of nearly equal size - Gradual variation in triangle size - No sharp angles or surface folds Soper tn | dnpne Tom shove pate sete ypeo training course entitled “Hydrology & Environmental CADGeomWrap-12 Hyrule tf ey not be sare, sind or deerbued wince v6.06 of tho author. Surface Checking & Repair Can be done at the Parts level or the Region - ———$—$—— — as] level |_erinton sere —— Checking for surface errors: tose Fens Soca ash Representations > Import and choose Repair | m+n» 2 Surface (7 Pereed Faces Surface repair is used to fixed errors in CAD: eee | Mismatches in the surface (triangles are not Sirectinn connected one-to-one) Be eeitiy, nanan tes Pierced faces (self intersections) Auto repair can be used to fix some errors, but | s== wan 2 most surface repair is done manually Works well when there are only a handful of | “Sy errors | & 4 MA Om ||| Surfaces with a lot of errors should be fixed at STdesen | the CAD level, or can be surface wrapped Copyright © 2009-2011 CD-adapco. The above material constitutes a portion of the CD-adapeo training course entited “Hydrology & Environmental CADGeomWrap-13 CD-adapco — Hydraulics” and may not be altered, edited or distributed without the consent 6.06 of th author. eam | Surface Wrapping Overview The Surface Wrapper works by ‘shrink-wrapping’ a high-quality triangulated surface mesh onto the geometry This closes holes in the geometry and joins disconnected and overlapping ‘surfaces Surfaces outside the calculation domain are automatically discarded, instantly eliminating unnecessary detail The Surface Wrapper tool is also fully customizable Allows users to specify the level of resolution on a surface-by-surface basis, as necessary Provides for use volume regions to specify larger areas of refinement The Surface Wrapper attempts to respects the fidelity of the original surface Automatically attempts to respect the sharp edges and comers of the original model, as specified by a user-controlled wrapper feature angle Copyright © 2009-2011 CD-adapco. The above material constitutes a portion of the CD-adapco training course entitled “Hydrology & Environmental CADGeomWrap-14 CD-adapco — Hydraulics" and may not be altered, edited or distributed without the consent v6.08 of the author. Surface Wrapping Process Activate the Surface Wrapper model In almost all cases, the Surface Remesher is also activated in order to provide improved triangulation quality Specify a base mesh size, default surface size, and custom sizes for any surfaces as desired Specify options as desired: + Volume of Interest Specification Volumetric Controls Contact Prevention + Other options Generate the wrapped surface mesh! Examine the resulting surface mesh Make adjustments as needed and remesh, or Make needed repairs, either manually or using Auto Repair of the author. Activating the Surface Wrapper Right-click on Continua > Mesh and choose Select Models... In the Meshing Model Selection window, activate the Surface Wrapper (and the Surface Remesher) nee = FebhedalNesher et reaesbyebernesnngmesde= | Otel eer rina et reaieed yaar Nesting measos | | over ase) [He Copyright © 2008-2011 CD-adapco, The above material constitutes a portion of the CD-adapco training course onitled "Hydrology & Environmental CADGeomWrap-16 Hydraulics" and may not be altered, edited or distributed without the consent v6.06 of the author, Surface Wrapper Reference Values =) a a) (© LES s rem |e et } Base Size: characteristic cell size Surface Curvature: number of points around a circle Surface Relative Minimum / Target Size: minimum and target cell size Wrapper Feature Angle: controls whether or not feature edges are to be maintained by the wrapper Wrapper Scale Factor: allows all surface size values to be scaled by a common factor during the surface wrapping process Copyright © 2009-2011 CD.adapco. The above matarial constitutes a portion of the CD-adapco training course ited “Hydrology & Environmental CADGeomWrap-17 ICD-adapco — Hydraulics" and may not be altered, edited or distributed without the consent v6.08 of the author. Surface Wrapper Custom Sizes Can specify Custom Surface Curvature and/or Custom Surface Size on individual boundaries Surface Curvature: specify number of points around a circle Custom Surface Size: specify minimum and target cell size Copyright © 2009-2011 CD-adapco. The above material constitutes a portion of the CD.adapco training course entitled “Hydrology & Environmental CADGeomWrap-18 (CD-adapco — Hydraulics” and may not be altered, edited or distributed without the consent v6.06 of the author. Volume of Interest Specification External: start with a big balloon surrounding all External surfaces and shrink it down fF Largest Internal: largest | internal self-contained volume is wrapped Seed Point: define seeds in volumes to be wrapped Largest Internal Nth Largest: Nth largest of any volume, including external, is wrapped Copyright © 2009-2011 CD-adapco. The above material constitutes a portion of the CD-adapco training course entitled “Hydrology & Environmental CADGeomWrap-19 (CD-adapco Hydraulics” and may not be altered, edited or distributed without the consent v6.06 of the author. Volumetric Controls Refine surfaces within a user-defined = sammaae 1 volume (volume shape): cemeareccme Choose from brick, cone, cylinder or ‘sphere To define a new volume shape, right-click on Tools > Volume Shapes and select New Shape Define a Volumetric Control: e r Right-click on Continua > Mesh > Volumetric Controls and select New Right-click on the newly-created volumetric control, select Edit... and define the properties: Specify the Shapes Check the Mesh Conditions > Surface Wrapper box Specify the Custom Size Srvc et tan te, mata alate CAC Som ap 20 Hydraulics” and may not be altered, edited or distributed without the consent v6.06 of the author. Contact Prevention Used to maintain small gaps between surfaces that need to be preserved To define a new Contact Prevention Set, right-click on Regions > Region > Mesh Values > Contact Prevention and select New > [Contact Prevention Type]: One Group Contact Prevention Set: each boundary in the set is prevented from contacting any other boundary in the set Two Group Contact Prevention Set: two groups of boundaries are specified, and each boundary is prevented from contacting boundaries in its own set, but not boundaries in the other set For each type of contact prevention set, a Search Floor, which is the small gap size for which contact prevention is guaranteed, must peienecitad Copyright © 2008-2011 CD-ad: ‘The above material stitutes: Lito ecapco ino coaenea traning course . ented “Hydrology 8 Envfonmentat ARgegwren2t oft auth = Goee vise at Curvature Refinement: automatically refine based on surface curvature ity Refinement: allows the specification of cell refinement based on a search distance (called the Search Floor) and the number of points in a gap Gap Closure: specify the size of gaps that should be closed Wrapper Mesh Alignment: pin a wrapper mesh line to a specified point in space Proxi Poa Other Surface Wrapper Options Copyright © 2000-2011 CD-adape0, The above materi consiues 8 POON Of CADKoemWrap-22. the CD-adapco training course entitled “Hydrology & Environmental Hydraulics” and may not be altered, edited or distributed without the consent of the author. Surface Remesher . The Surface Remesher re-triangulates and > cone improves the overall quality of a surface and optimizes it for volume mesh generation Most of the options that are available for the Surface Wrapper are also available for the f Surface Remesher; some exceptions: e Contact prevention is not available (not needed) | = Volume of interest specification is not available (not needed) Additional curvature refinement is available Minimum face quality can be specified Automatic surface repair is available — Copyright © 2009-2011 CD-adapco. The above material constitutes a portion of the CD-adapco training course ontitied “Hydrology & Environmental Hydraulics” and may not be altored, odited or distributed without the consent (of the author. v6.08 CADGeomWrap-23 v6.08 Example: Automotive Underbody Copyright © 2009-2011 CD-adapco. TI the CD-adapco. training course Hydraulics” and may not be altered, of the author. ve mate constant 3 aycology 8 Emtonmerta! CADGeomrap-24 ‘or erbuted withthe eonsent 608 Example: Cyclist i Imported Wrapped Copyright © 2009-2011 CD-adapco. The above material constitutes a portion of the CD-adapco training course entitled “Hydrology & Environmental CADGeomWrap-25 Hydraulics” and may not be altered, edited or distributed without the consent v6.06 of the author. Workshop: Submarine Hull Import & Surface Mey eye iat} pie atecial conga pacsegy & Envicogaipete fea en ieteaee ey nou! to chaemreet Introduction + Problem Definition - Submarine geometry including propulsor and appendages - Goal is to read in the CAD data (which is not watertight and contains other errors) and generate a surface suitable for volume meshing . Key Features - CAD import - Boundary organization - Surface wrapping - Surface repair ‘SubWrap-2 cD-adapco v6.06 New Simulation + On the main menu, select File > New Simulation + Inthe Create a New Simulation window, click OK Le Copyright © 2009-2011 Co.adapco. The above material constitutes a potion of SubWrap-3 i the CD-adapco training course entiled “Hydrology & Environmental Hysraulles” : FED-adanco sr may not be stored, etd or catrbuted without the consent of he author Nec + On the top menu, select File > Import Surface Mesh... 4 ae - Inthe Open popup window, select & the file vT_OE_appended- eo hull.x_b, then click OK Pa oem _} = + Inthe Import Surface Options Rewtngtettin + popup window, change the Ha eee settings as shown and click OK =| mm tent i + Save the model | mer a ome ‘SubWrap-4 v6.06 Imported Geometry . After rotating the model, you should see a plot like the following: . Note that some of the parts, such as the hull and propeller shroud struts, have gaps between them (see adjacent plot) We will remedy this by re-tessellating the hull for a finer resolution SubWrap-5 CD-adapco v6.06 Semi crtil relma Re] O Teslatonopions « By inspection, we can determine that Body 1 f represents the hull « Right-click on Geometry > Parts > Assembly 1 > Body 1 and select Re-tessellate... . Inthe Tessellation options popup window, set the Tessellation Density to Fine, then click OK + Note that the gap between surfaces has been decreased SubWrap-6 ‘CD-adapco ¥6.06 EEERERREEEE Geeenecenononenan EERRE Check the Geometry + To check the geometry for errors, right-click on Geometry > Parts > Assembly 1 and select Repair Surface... In the Surface Preparation Options popup window, accept the defaults and click OK o— cans SG | mama we ADA Oe Copyright © 2009-2011 CD-adapco. The above material constitutes a portion of ‘SubWrap-7 y the CD-adapco training course entitled “Hydrology & Environmental Hydraulics” D-adapeo rsmay not be altered, edited or dstouted without the consent of the autor yeas Geometry Check Results + The imported geometry contains a large number of errors — too many to repair manually! + Rather than trying to repair this geometry, we will use surface wrapping Copyright © 2009-2011 CD-adapco. The above material constitutes a portion of —_SubWrap-B D-ade the CD-adapco training course entitled “Hydrology & Environmental Hydraulics” (CD-aciapco srsmay not be altered, eited or dlstibuted witvout the consort ofthe author, Wes Examine Free Edges - To more easily examine the free edges, first right-click on the prop shroud body and select Hide Most are “normal” free edges (errors in the surface representation), but not all of them - The free edges at the prop blade tips are due to the fact that the tip surface is missing - We need to close these holes ¢ ‘CD-adapco Close Prop Tip Holes + Scroll down in the Surface Repair window Under Selection Control, make sure that only Faces and Edges are checked, then double click on one of the free edges on the propeller blade tip + You should have selected about 250 edges as shown - Use the Fill holes using selected edges button to fill the hole «After filing the hole, the selected edges should no longer be free edges + Under Part Surface / Part Curve Edit, click the New button and define a new surface as shown - To modify the newly-created surfaces to be of this type, click the Modify button - Follow the same process to fill the holes on the tips of the other propeller blades, then close the surface repair tool Broan ‘SubWrap-9 v6.06 ‘SubWrap-10 v6.06 Combine & Rename Parts - Under Geometry > Parts > Assembly 1, hold down the Ctr! key and select the bodies representing the hull (Body1, Body2 and Body19), combine them, and rename the resulting boundary to hull + Combine Body3 through Body10 into a single body and rename it to guide_vanes - Combine Body12 and Body21 into a single body and rename it to port_stabilizer + Combine Body13 and Body22 into a single body and rename it to starboard_stabilizer + Combine Body14 through Body18 into a single body and rename it to. prop_struts - Rename Body20 to prop_shroud + Rename Body11 to prop SubWrap-14 v6.06 Examine Control Surfaces + Closer examination of parts like the guide_vanes, port_stabilizer and starboard_stabilizer shows that they really consist of a fixed part (rigidly attached to the hull) and a control part that could move = We should maintain the gaps between these two parts - They need to be separated into unique boundaries ‘SubWrap-12 (CD-adapco v6.06 Organize Control Surfaces . Using the Ctrl key, select the guide_vanes, port_stabilizer and starboard_stabilizer bodies - While still holding the Cfrl key, right-click on the selected bodies and select Split Non-Contiguous... - Anumber of new bodies are created - Again using the Cir! key, select the hull and the six bodies that are fixed to the hull . Right-click on the selected bodies and choose Combine .« Combine the guide vane bodies into a single body . For each of the prop_struts, guide_vanes and hull bodies, combine all part surfaces into one surface ~ Note: do not combine the surfaces for the prop body; we want the blade tips to be a separate boundary from the rest of the blades the CD-adapco training course entitled “Hydrology & Environmental Hydraulics” 78.08 ke Copyright © 2009-2011 CD-adapco. The above material constitutes a portion of | SubWrap-13 (CD-adapco srs may not be altered, edited or distributed without the consent of the author. Surrounding Flow Domain + We need to create a box surrounding the flow domain + Right-click on Geometry Parts and select New Shape Part > Block + Enter the coordinates as shown + Click Create, then Close Sees eater | (anual ~ Anew part named etter Block has been created Sete) [ Gee] t | Copyright © 2009-2011 CD-adapco. The above material constitutes a portion of | SubWrap-14 CD-adapco ‘the CD-adapco training course entitled "Hydrology & Environmental Hydraulics” 6.06 ‘and may not be altered, edited or distributed without the consent of the author. Create Regions from Parts + Select the Assembly 1 and Block parts, right-click and —_[isesse_ select Assign Parts to et Regions... ee « Inthe Assign Parts to \8 Regions window, set the | 5 a values as shown, then click 1B riers) Composte OK | Set oes telom . cme tee + Note that Region 1 has been a ceva created (under Regions) Oe ne Undtenetaces oe SeReion ; eons Appi Tag pi &. Copyright © 20082011 CO-adapco. The above material constitutes a portion of Sub Wrap-15 the CD-adapeo training course ontitled “Hydrology & Environmental Hydraulics” {CD-adlapco srsmay not be atred, edited or detibued witieut the consent of he eur is06 Mesh Continuum + Right-click on Continua and select New > Mesh Continuum + Right-click on Continua > Mesh 1 and choose Select Meshing Models... + In this workshop, we will only wrap and remesh the surface, so choose the following models as shown - Surface Wrapper (create a closed surface) - Surface Remesher (improve wrapped surface triangulation) Gata] Come & Copyright © 2009-2011 CD-adapco. The above material constitutes a portion of | SubWrap-16 adapco the 60-adapco training course entiled “Hydrology & Environmental Hydraulics” (CDs and may not be altered, edited or distributed without the consent of the author. Macs Generate Initial Surface + Once a region has been defined and a mesh continuum has been created, and initial surface mesh can then be generated + Todo this, select Mesh > Initialize Meshing from the top menu . After initializing meshing you should see a new representation named Initial Surface under Representations Lo aume + Right-click on Continua > Mesh 1 > Reference Values and select Edit... + Set the following meshing reference values as shown: - Base Size: 0.25 m* - Surface Relative Minimum Size: 10% of base - Surface Relative Target Size: 100% of base - Surface Wrapper Scale Factor: 75% of base Copyright © 2009-2011 CD-adapco. The above material constitutes a portion of the CD-adapeo training course entitled “Hydrology & Environmental Hydraulics” ‘and may not be altered, edited or distributed without the consent of the author. RAM cle stam LU Td * Note: If you are doing this tutorial on a computer with 4 GB or less of RAM, then you may want to increase the base size to 0.375 m. This will reduce the quality of the wrap, but will make it more manageable. Dent Copyright © 2009-2011 CD-adapco. The above material constitutes a portion of ‘the CD-adapco training course entitled "Hydrology & Environmental Hydraulics” and may not be altered, edited or distributed without the consent of the author. & a [¥_ Initialize Meshing) Generate Surface Mesh {Generate Volume Mesh f C1 Clear Generated Meshes iagnostics... @ Convert To 20... SN\_ Import Turbo Blades... ‘SubWrap-17 v6.06 Percent ‘SubWrep-18 v6.06 UMTS Col ol arte Ms pct} + Right-click on Regions > Body 1 > Boundaries, select all of the hull surfaces, then select Edit... + Check the box for Custom Surface Size Set the Surface Size values as lnc © follows: || casemate ~ Surface Relative Minimum Pea es =) Size: 10% of base ceoed reves 3] ~ Surface Relative Target Size: melas ea 200% of base satin . g asentrpesn eet Copyright © 2008-2011 CO-adapeo. The above material constitutes a portion of SubWrap-19 the CD-adapco training course entiled “Hydrology & Environmental Hydraulics” [CD-addepco sremay not bo altered oxted or cloud went te consentot ie act Aas Other Boundaries Custom Surface Sizes - Using the same procedure as on the preceding slide, set custom surfaces for other boundaries as follows: - For the guide_vanes boundaries, set Surface Relative Minimum Size to 2.5% of base and Surface Relative Target Size to 50% of base - Do the same for the port_stabilizer , starboard_stabilizer, prop, prop_tips, prop_shroud and prop_struts boundaries - For the Block Faces boundary, set Surface Relative Minimum Size to 25% of base and Surface Relative Target Size to 1000% of base Copyright © 2008-2041 CD-adapce, The above material constitutes a portion of SubWrap-20 the CD-adapco traning course entitled “Hydrology & Environmental Hydraulics” [CD-adtapco sreimay not be altered, ected or cleouted witout to consent at these NGOS Contact Prevention + Contact prevention is used to SE prevent closing of small gaps by the 3¢#@820>+.= wars@vases + surface wrapper ———— a Right-click on Regions > Region? °F.-», | > Mesh Values and select Contact 3 Sn | Prevention > New > One Group a | Contact Prevention Set $a rencraore | . This creates Contact Prevention 1; ee | click on this ant In the Properties window, for oo caine "eee Boundaries, select the hull, port- oes stabilizer, starboard_stabilizer, [contact Prevention t-Properties guide_vanes, prop_shroud and aaa are prop_tips [senso ee + Set the Search Floor to 1.0 mm in |Frave Comact Proventon Set the Properties window Copyright © 2009-2011 CD-adapco. The above material constitutes a portion of | SubWrap-24 ZoD-adapeo the Go-adapco traning cours ened “yéroogy & Environmental Hydraulics” oe land may not be altered, edited or distributed without the consent of the author. Surface Wrapping & Remeshed Surface . Generate the surface mesh now - this can be done one of two ways: - On the main menu, select Mesh > Generate Surface Mesh - Click the Generate Surface Mesh button on the Mesh Generation toolbar Yay Generate Surface Mesh Generate Volume Mesh & ceyrmns© soa cospcn Th showe maa cosouslg on o RS ap 22 Rs Paiinerutioemermmeunertaree atl and may not be altered, or distributed without the consent of the author. Res Wrapped Surface TE” Approximately 2.2M faces SubWrap-23 CD-adapco v6.06 Remeshed Surface Approximately 945K faces 3 ‘SubWrap-24 ¥CD-adapco v6.06 Pence el ac ecole - The remeshed surface appear s to be suitable in most respects . However, we must check it again to ensure that there are no errors «Right-click on Representations > Remeshed Surface and select Repair Surface... - Click on the Start Diagnostics button, then accept the defaults in the Diagnostics Options popup window and click OK + Note that there are no longer an surface errors! 1 |Lo) Lne) 96 &. Copyright © 2009-2011 CD-adapco. The above material constitutes a portion of | SubWrap-25 diapco the Gb-adapco training course ened “Hyarolgy & Envrenmental Hyéraslice” (CD-a and may not be altered, edited or distributed without the consent of the author. VE.06, Trays . Asubmarine geometry, including propulsor and control surfaces was imported as parts into STAR-CCM+ - The surfaces were organized in preparation for surface wrapping and remeshing - Abox representing the boundaries of the flow domain was created Hole filling of the prop tips was demonstrated . Reference values and custom sizes were specified for the meshing . The use of contact prevention for maintaining narrow gaps was demonstrated . The surface wrapped and remeshed surface was generated, resulting in a completely closed surface ready for meshing Copyright © 2009-2011 CD-adapco. The above material constitutes a portion of SubWrap-26 the CD-adapco training course entitled “Hydrology & Environmental Hydraulics” -AdaPCO si may not be altered, ected or distributed without the consent ofthe author. a6.00 (Go nS Free Surface Meshing & Analysis Strategies & Best Practices (Carte e-Aire Pi 20 aberae. ee Tatas tetera! cox geitate e aetion oh (ite COredaven Walnite caucem actives “vereleay 2. nvirov Spsctet Mydeoudes! ee eee preter eae Out tha c geen TE Overview Volume of Fluid (VOF) Method Meshing Considerations Initial Conditions Boundary Conditions - Physics & Physical Properties - Analysis Controls FreeSurface-2 CD-adapco 6.06 VOF Method Used with two or more immiscible fluids Method solves for the volume fraction of each fluid in each cell Volume fractions must sum to unity in each cell - Free surface is defined as the location where the volume fraction is between zero and one (interface capturing) - Special differencing scheme (HRIC) used to maintain a sharp interface between phases Separate momentum and energy equations are not solved for each volume fraction - Phases share the same velocity, pressure and temperature fields Surface tension effects between phases can be accounted for - Works correctly only in two-phase flows - Requires specification of surface tension coefficient and wall contact Zep-adlapco the CO-adapco training course Hydrology & Environmental Hydraulics” 16,08 & ANGIE copyright © 20092011 CO-adapco, The above meter! conetiuied parien of UE ecurtace3 ¢ rasney antes eta cr lotbute eat the soncert te autor General Meshing Considerations The same general considerations (as well as some additional ones) apply as for non-free surface analyses ~ Mesh should be sufficiently fine to resolve all geometry of interest — Mesh should be sufficiently fine to resolve all important flow features (local refinement required to resolve flow separation and shed vortices) _ Mesh should be consistent with the requirements of the near-wall model, if any (see following slide) + Helpful reference: “Best Practice Guidelines for Marine Applications of Computational Fluid Dynamics” (https://pronet.wsatkins.co.uk/marnet/publications/bpg.pdf) Copyright © 2009-2011 CD-adapco. The above material constitutes a portion of | FreeSurface-4 fapco. the CD-adapco taining course ontited “Hyérology & Environmental Hydraulics” om and may not be altered, edited or distributed without the consent of the author. vehi XLT rTa Ve ee mre ELM ata] A boundary layer is a thin layer adjacent to a solid surface in which viscous effects are important The boundary layer has an important effect on the drag Therefore, it is important to resolve the behavior of the boundary layer in some way - Most flows of engineering interest will be turbulent - Turbulent boundary behavior is simulated via specialized models - These models often have specific mesh size requirements for accuracy - The STAR-CCM+ All-y* Wall Treatment models relax most of these requirements Copytight © 2009-2011 CD-adapco. Tho above material constitutes a portion of | FreeSurface-5 the CD-adapco training course entiled “Hydrology & Environmental Hydraulics” (CD-adtapea sr iray nek be akered,etied or citibuted witout the soneen of ie aptios N60 Estimation of Desired Near-Wall Cell Size + We generally wish to target a specific value of y* for the near-wall mesh, where: . pre f= v 2 + The wall shear stress t,, can be related to the skin friction coefficient: a Tp 1 pu /2 + The skin friction coefficient can be estimated from correlations - For a flat plate: C, 0.036 2 Re,* - For pipe flow: 0.039 2 Re;* & Copyright © 2009-2011 CD-adapco. The above material constitutes a portion of FreeSurface-6 -adapco the CD-adapco training course ented “Hydrology & Environmantal Hydralos” (CD-ads and may not be altered, edited or distributed without the consent of the author. i.06 acto are EMME LCod + The mesh near the free surface should be sufficiently fine to resolve the wave height as well as the wavelength . Sufficient cells to resolve from peak to trough (vertical direction) Free surface wave effect decays exponentially with depth, so the grid size can grow rapidly with depth in “open water” areas + Sufficient cells to resolve all wavelengths of interest To resolve a wave of wavelength i, we need a cell size smaller than 2/2, as a minimum (sampling theorem) The sampling theorem is a necessary condition, but probably not sufficient for an accurate solution (use Ax < 1/8) Floating bodies generate a spectrum of waves - for practical purposes, we will not be able to resolve the smallest wavelengths 11 CD-adapeo. The above material constitut ing course entitled "Hydrology & Environm: 3d, edited or distributed without the consent of the author. FreeSurface-7 6.08 LCT WEL Cy - Bodies dissipate energy as they move through the water . Part of this energy is dissipated through friction (viscosity), and some goes into wake-making . Bodies of all sizes and speeds produce similar wave wakes, called “Kelvin wakes’ in honor of Lord Kelvin: - Characteristics of the Kelvin wake: . Waves are confined to an angle of #19.78° about the body's track . Wake consists of a combination of transverse and diverging waves, in different proportions depending on the body and current speed and geometry Copyright © 20002011 CO-adapco. The above material constitutes a portion of | FreeSurface-8 the CD-adapco training course entitled “Hydrology & Environmental Hydraulics” ?D-adapCo 54 may not be altered, edited or distributed without the consent ofthe author. Nass Polyhedral vs. Trimmed Cells Trimmed cells are strongly recommended because the mesh can be aligned with the undisturbed free surface Polyhedral cells may also be used, but care must be taken in properly resolving the free surface FreeSurface-9 v6.08 Initial Conditions For analyses in which the ultimate desired solution is steady- state, specification of initial conditions can be very important Poor choice of initial conditions can lead to transients that can take a long time to die out, leading to excessive run times STAR-CCM+ provides the “VOF Waves” capability which allows you to specify wave initial and boundary conditions VOF waves will be discussed in more detail later on FreeSurface-10 v6.06 Boundary Conditions + Inflow boundary conditions OF waves are ideally suited for inflow boundary conditions Outflow & wave reflections Pressure outlet is most commonly used Care must be taken to prevent wave reflections (see following slide) + Lateral BCs When modeling a flow tank, no-slip side wall boundary conditions are often the most realistic choice VVOF waves can be used as “open water” lateral boundary conditions, if placed far enough away from the body Slip walls or symmetry planes can also be used the CD-adapco training course entitled “Hydrology & Environmental Hydraulics” a6 & Copyright © 2009-2011 CD-adapco. Tho above material constitutes a portion of — FreeSurfaco-11 (co 2 and may not be altered, edited or distributed without the consent of the author. Wave Reflections, | - Unwanted wave reflections can often lead to contamination of the true wave field, leading to inaccurate results + Two main sources of wave reflections: - Wave reflections from boundaries . Wave reflections due to sudden mesh transitions . Wave reflections at boundaries can be prevented by moving the boundaries as far away as possible from the body « Recall that waves are contained within the Kelvin angle (approximately +20° from the body's track), so use this as a guide when appropriate Copyright © 2009-2011 CD.adapco. The above material constitutes a portion of — FreeSurfaca-12 the CO-adapco training course entitled “Hydrology & Environmental Hydraulics” (CD-adapeo si may not be altered, edited or distributed without tho consent ofthe author. 6.06 Wave Reflections, Il + Coarsening of the mesh one body length or more behind and to the side(s) of the body can damp out waves as they propagate, thereby reducing the potential for wave reflections - However, if the coarsening occurs too abruptly, reflections can occur at mesh transitions + Can be easily avoided by careful grid design + Can also be limited by changing the Template Default Growth Rate (Continua > Mesh > Reference Values > Template Growth Rate) from Fast (default) to Medium or Slow + STAR-CCM+ has a capability that permits waves to be damped in the vicinity of specified boundaries (see following slides for details) &. Copyright © 2009-2011 CO-adapco. The above material constitutes a portion of FreeSurface-13. the CD-adapco training course ented -Hyarology & Environmental Hyeretes” [CD -actexnco ar may not be altered, oct or Glebibuted witieaa the concert Ai ‘author. e,08 Wave Damping Theory + Wave damping is accomplished by a vertical momentum sink applied at the free surface, of the form: e e*-1 PG +Alvl) w e-l where: x—Xyg \"* ed Nea and where xq is the starting point for wave damping (propagation in the x- direction); Xzq is the end point for wave damping (boundary); f,, f and nyare Parameters of the damping model; and w is the vertical velocity component momentum source wave-maker applied to RANS equation model”, Coastal Engineering, 56 (10), pp. 1043 ~ 1060. Copyright © 2009-2011 CD-adapco. The above material constitutes @ portion of FreeSurfaco-14 D-adapco the CD-adapco training course entitled “Hydrology & Environmental Hydraulics” ct and may not be altered, edited or distributed without the consent of the author. pene Reference: Choi, Jumwoo and Yoon, Sung Bum, 2008. "Numerical simulations using | Wave Damping Effects FreeSurface-15 v6.08 . Wave damping option becomes available once VOF waves have been activated + Damping constants (f, and f,) and exponent (ng) may be set under Continua > Physics 1 > Models > VOF Waves FreeSurface-16 ‘CD-adapco v6.06 Wave Damping Usage, II + Damping is off by default; turned on under Regions > [Region Name] > Physics Conditions > VofWave Damping Option + VofWave Damping Length (x,.) is set under Physics Values for the region + May be specified as a constant, table, field function or by user coding Copyright © 2009-2011 CD.adapco. The above material constitutes a portion of —_FreeSurface-17 tive CD-adapco training course entitled “Hydrology & Environmental Hysraulcs” (CD-adanco and may not be altered, edited or distributed without the consent of the author. e.c6 + Damping for each boundary is off by default; turned on under ... > Boundaries > [Boundary Name] > Physics Conditions > VofWaveDampingBoundaryOption Copyright © 2009-2011 CD-adapco. The above material constitutes a portion of FreeSurface-18 op. the CD-adapco training course entitled “Hydrology & Environmental Hydraulics” ‘adapeo sramay not be atered, edited or distributed without te consent of the author yecs Peer < CTI MA CKeel TLE Celi iy L= body length M>=L N’>= 3L OxL Q P=0 Top View Q >= 0.5(N#L) the CD-adapco training course entitled “Hydrology & Environmental Hydraulics” ens & Copyright © 2009-2011 CD-adapco. The above material constitutes a portion of FreeSurface-19 (ar and may not be altered, edited or distributed without the consent of the author. Turbulence Modelling + General recommendations: k-e are the models of choice for internal flows Spalart-Allmaras models are often the best choice for external flows with mild or no separation k- models are a good alternative to Spalart-Allmaras for external flows, especially those with more severe separation Reynolds’ Stress Transport models are recommended for flows with anisotropic turbulence The All-y+ wall treatment is recommended for any model for which it is available Copyright © 2000-2011 CD.adapco. The above material constitutes a portion of | FreeSurface-20 the CD-adapco training course entitled “Hydrology & Environmental Hydraulics” ED-adapeo si may not be altered, edited or distributed without the consent ofthe author. Mens Activating VOF in STAR-CCM+ In Physics Model selection: Choose Multi-Phase Mixture With auto select on, this will automatically activate Eulerian Multiphase, Volume of Fluid and Multi-Phase Mixture Don't forget to activate Gravity! Cavitation and Surface Tension can also be activated, if desired More on cavitation later Copyright © 2009-2011 CD-adapco. The above material constitutes a portion of | FreeSurface-21 the CD-adapco training course entitled “Hydrology & Environmental Hydraulics” (CD-adlapco ssmay not be altered, elted or dstrbuted without the consent ofthe author ng08 VOF Model Properties Convection: First-Order or Second-Order (recommended) discretization Sharpening Factor. controls free surface interface sharpening + Increase value for sharper interface (recommended for surface-tension dominated flows & tank sloshing problems) Angle Factor. controls free surface smoothness + Increase value for smoother interface CFL_I and CFL_u: Courant numbers that control the differencing scheme used at the free surface + IfCFLCFL_u: UD is used + Otherwise, blend of HRIC and UD is used Le: Copyright © 20082011 CD-adapco, The above material constiutes a porton of FreoSurace-22 FED-actanco sey mtb ered soed or Sattas weet ts Cooooer aSeaTron 6.06 Defining Eulerian Phases Eulerian phases must be defined a. for both the air and water To define a new Eulerian phase: Right-click on Eulerian Multiphase > Eulerian Phases and select New Under the newly-defined phase, right-click on Models. In the Phase Model Selection popup window, select Gas or Liquid For liquids, choice of density model includes constant or polynomial Gases have additional density choice of ideal gas Copyright © 2009-2011 CD-adapco. The above material constitutes a portion of FreeSurfaco-23 the €D-adapco training course entled "Hydrology & Environmental Hydraulics” ED-adapeo ay may not be altered, edited or cistributed without the consent of the author. None Solution Controls Transient SIMPLE is used for transient calculations Set a reasonable time step (see following slide) Default of 20 inner iterations per time step may not be either sufficient or efficient! Instead, set convergence stopping criteria for key variables, especially continuity and phases For problems in which a steady solution is sought, set CFL_l and CFL_u to large values (e.g. 50 and 100 respectively) This ensures that the HRIC scheme is always used at the free surface Default second-order spatial differencing schemes for all variables are normally sufficient Default first-order time differencing is often sufficient, but switching to second-order in time may help if there are questions about results Copyright © 2009-2011 CD.adapco. The above material constitutes a portion of FreeSurfaco-24 the CD-adapco training course entitled “Hydrology & Environmental Hydraulics -AdAPCO sr may not be altered, edited or distributed without the consent of the author. 6.06 Choice of Time Step Most free surface analyses are run as transient, even if the ultimate desired solution is steady-state For steady-state cases, use the maximum possible time step To estimate time step, target a Courant number of about 1 Courant number represents the number of crossing of a cell of size Ax, over atime step At: Two choices for the characteristic velocity U Vessel speed: U = V, where Vis the forward speed of the body Group velocity of a wave: U = C,, where: 1 [ga c, «>| 2\ 2x Copyright © 2009-2011 CD.adapco. The above material constitutes a portion of FreeSurface-25 the CD-adapco training course entitled “Hydrology & Environmental Hydraulics” Died and may not be altered, edited or distributed without the consent of the author. Be,0s Judging Convergence For steady analyses, typically need enough time to flow across at least 5-10 vessel lengths For transients, make sure solution is converging to some reasonable tolerances at each time step Monitor overall quantities of interest, such as displacements, forces, moments, etc. For steady simulations, these should be constant over time For transient simulations, these should be periodic in time CD-adapeo the CD-adapco training course entitled “Hydrology & Environmental Hydraulics” ALOE, | Copyright © 2009-2011 CD.adapco. The above material constitutes a portion of | FreeSurface-26 3 ‘and may not be altered, edited or distributed without the consent of the author. Handling Divergence or Non-Convergence Is the mesh of high quality? Are there any cells with face validity less than or that have excessive skewness? Is the time step sufficient to capture the physics? Are the boundary conditions reasonable? Lateral boundaries (sides and bottom) should not significantly influence the solution Is there significant wave reflection from lateral or outflow boundaries? Do the specified boundary conditions reasonably approximate the physics? FreeSurtace-27 CD-adapco 6.08 Workshop: Free Surface Analysis of Flow on a Section of the Merced (CA) River Bonrrast © PML ODikdencn, The (oltewingenatsiiatc or 5 Bportan of tie e orbs “er iagy @ eaiec ys 2 e fey Bot ba ait GF Helrinuted withost the coasent of the gaathat: Introduction + Problem Definition - The geometry of a section of the Merced River in California is provided, including a boulder and fallen root wad - The goal of this workshop is to create a mesh for this geometry and perform a free surface analysis at a flow rate of 465 ft/s (13.17 m/s) - Key Features - Surface data import and modifcation - Boundary manipulation ~ Surface remeshing - Trimmed hexahedral volume mesh generation with prism layers and local volumetric refinement ~ Free surface analysis Copyright © 2011 CD-adapco. Tho above material constitutes a portion of the MercedRiver-2 (CD-adapco —CD-adapco training course entitled “Hydrology & Environmental Hydraulics” 6.06 ‘and may not be altered, edited or distributed without the consent of the author. uf New Simulation + Start anew STAR-CCM+ session + Under File, click New Simulation - Click OK Copyright © 2011 CD-ad he above material constitutes a portion of the MercedRiver-3 led “Hydrology & Environmental Hydraulics” v6.08 ‘or distributed without the consent ofthe author. Import Surface Mesh File > Import > Import Surface Mesh... . Inthe Open window, navigate to the MercedRiver folder and select the file 2 i i : named merced.dbs neo 15% vapotsotieen 1 ee. feet Sette + In the Import Surface ya mpeavonmenion | Options window, click On smyFeret + Recent Volume Mesh Filet | i : the Create new Part onsen ees then click OK lee ae |e ocr | en aioe | Copyright© 2011 CO-adapco. The above material constitutes a portion of the MercedRiver-4 ZeD-adapco Sb-aapeo taining course eatiled “Hydrology & Environmental Hygraulics™ ee nd may not be altered, edtod or distributed without the consent ofthe author. Examine Imported Surface After the surface has been imported, you should see a scene like those shown to the right = + Note that the surfaces Oye have already been split a into those of the bed, |} Sse branch (root), rock, air | se. & water inlet, sides and Senne « Also note that part oe curves representing the patting ae edges of each of these part surfaces have been imported & Copytight ©2011 CD-adapco. The above material constitutes a portion of the Merced River-5 Zop-adapco Cdacapeo traning course ened "hydrology & Environmental Hyarales” and may not be altered, edited or distributed without the consent of the author. v6.08 Create Regions from Parts « Right-click on Geometry > Parts ® > merced and select Assign Parts to Regions... . In the Assign Parts to Regions popup window, set the Boundary Mode and Feature Curve Mode as shown, then click Create Besta . Regions Pants, Spl Soc Teptgy + Aregion named merced has Crateren open + now been created | Rept Stace. Updates, Copyright © 2011 CD.adapco. Tho above material consttuas a portion of the NercedRiver-6 eD-adapco CO-adapco training course entitled “Hydrology & Environmental Hydraulics” ete and may not be altered, edited or distributed without the consent of the author. Mesh Continuum + Right-click on Continua and choose New > Mesh Continuum + This will create the Mesh 1 continuum + Right-click on Continua > Mesh 1 and choose Select Meshing Models... + Select the meshing models as shown below: (@ Meshing Model Selection lati ‘seface Mesh ted ahoa Ms ] Oeeaweas “osterae (@)Pramtayer esher “letragsred by ahr Uosbing meses ‘Optonal Meshing Models ener uae soptera sutaceRenester ‘tetany abe stig maces I Con Ge | Copyright © 2011 CO-adapco. The above material constitutes a portion of tho MercedRiver-7 CD-adapco —CD-adapco training course entitied '& Environmental Hydraulics” and may not be altered, edited or distributed without the consent ofthe author. 8.08 Mesh 1 Reference Values + Select Continua > Mesh 1 > Reference Values > Edit... and set the reference values as follows. + Set the Base Size to 1.0 m + Set the Maximum Cell Size Relative Size to 100% + Set the Prism Layer Thickness Relative Size to 20.0% + All other settings may be left at their default values rome GD Copyright © 2041 CD-adapco. The above material constitutes a portion of the MercedRiver-B op-adapco —CD-adapco training course entitled “Hydrology & Environmental Hydraulics” oe ‘and may not be altered, edited or distributed without the consent of the author. + Right-click on Regions > merced > Boundaries > branch and select Edit... + Select Mesh Conditions > Custom Surface Size and check the Custom surface size box - Under Mesh Values > Surface Size, set the Relative Minimum Size to 10% of base and the Relative Target Size to 25.0% of base Copyright © 2011 CD-adapco. The above material constitutes a portion of the MercedRiver-9 CD-adapco training course entitled “Hydrology & Environmental Hydraulics” 0 ‘and may not be altered, edited or distributed without the consent of the author. Other Boundary Custom Surface Sizes Pre creme + Following the process on the LCT ETN Sire) Size preceding slide, set custom 7 surface sizes for the boundaries ere go shown in the adjacent table, ae 25.0 using the values shown - For any boundaries not shown rock 10.0 in the table, the default settings are acceptable, so custom sides 25.0 surface sizes are not necessary a 555 Copyright © 2011 CD-adapco. The above material constitutes a portion of the CD-adapco —CD-adapco training course entitled “Hydrology & Environmental Hydraulics” + Click on Regions > merced > + Inthe same way, change the inlet ‘and may not be altored, odited or distributed without the consent of the author. Modify Boundary Types Boundaries > inlet air In the Properties window, change the boundary Type to Velocity Inlet water boundary to Mass Flow Inlet, the outlet boundary to type Flow- Split Outlet and the top and sides boundaries to type Symmetry Plane eat Copyright © 2011 CD-adapco. The above material constitutes a portion of the CD-adapco —CD-adapco training course entitied “Hydrology & Environmental Hydraulics” ‘and may not be altered, edited or distributed without the consent of the author. 250.0 250.0 25.0 250.0 250.0 MercedRiver-10 v6.08 MercedRiver-11 v6.08 Define Local Coordinate System Ss We will define a volume source for local refinement of the mesh geagess =" 51* . Todo this it will be convenient to first define a local coordinate a me system as follows «First, right-click on Tools > Coordinate Systems > Laboratory > Local Coordinate Systems and select New > Cartesian + Atthe bottom of the Create Cartesian Coordinate System window, click on the leftmost button under Define In Scene . Define the coordinate system axes by clicking on the three points at the inlet air-water interface as shown below + The Cartesian 1 coordinate system has now been defined Copyright © 2041 CD-adapco. The above material constitutes a portion of MercedRiver-12 Zep-adapco CD-adapco training course enliled “Hydrology & Environmental Hydraulics and may not be altered, edited or distributed without the consent ofthe author. pecs = Right-click on Tools > Volume Shapes and select New Shape > Block + In the Create Block Volume Shape window, set the Comer 1 and Corner 2 coordinates as shown, set the coordinate system as shown, then click Create + This creates the Block 1 volume shape & Copyright ©2011 CD-adapco, The above material constitutes a portion of the MercedRiver-13 %D-adapco D-adapco training course ontitied “Hydrology & Environmental Hydraulics” ‘and may not be altered, edited or distributed without the consent of the author. yeice Create Volumetric Control + Right-click on Continua > Mesh 1 > Volumetric Controls and select New + This creates Volumetric Control 1 + Click on Volumetric Control 1 and set the properties as shown Copyright © 2011 CD-adapeo. The above material constitutes a portion of the MercedRiver-14 CD-adapco training courso entitled “Hydrology & Environmental Hydraulics” at and may not be altered, edited or distributed without the consent of the author. The resulting surface consists of approximately 75K faces - Runa check on the remeshed surface to confirm that it is completely free of problems X Copyright © 2011 CD-adapco. The above material constitutes a portion of th CD-adapco —CD-adapco training course entitled “Hydrology & Environmental Hydraulic: and may not be altered, edited or distributed without the consent of the author. MercedRiver-15 v6.06 Generate Volume Mesh - Now, generate the volume mesh YoY s@ + The resulting mesh consists of approximately 345K faces . Select Mesh > Diagnostics from the top menu to see that the mesh is of good quality MercedRiver-16 SCD-adapeo v6.06 Fluid Physics Continua « Right-click on Continua > Physics 1 and choose Select Models... - Select the physics models as shown: MercedRiver-17 v6.06 UTE Ta ad arti ety - Select Physics 1 > Models > Eulerian Multiphase > Eulerian Phases and select New + This defines an Eulerian phase named Phase 1 + Rename this to Water phase + Right-click on Water phase > Models and choose Select Models... - Select the models as shown in the uppermost screenshot + Following the above procedure, define a second Eulerian phase named Air phase and select the models as shown in the lowermost screenshot Gale) Copyright © 2011 CD-adapco. The above material constitutes a portion of the MercedRiver-18 CD-adapco training course entitled “Hydrology & Environmental Hydraulics” ¥8,06 ‘and may not be altered, edited or distributed without the consent of the author. Initial Conditions » Right-click on Continua > Physics 1 > Initial Conditions and select Edit... + Set the initial conditions as shown in the adjacent screenshot Copyright © 2011 CD-adapco. The above material constitutes a portion of the MercedRiver-19 (CD-adapco —CD-adapco training course entitled “Hydrology & Environmental Hydraulics” ae ‘and may not be altered, edited or distributed without the consent of the author. Water Mass Flow Inlet Boundary Conditions . Right-click on Regions > Body || ==, 1 > Boundaries > inlet water . am. and select Edit... « Set the boundary conditions as indicated in the adjacent screenshot & Copyright © 2011 co-adapco, The above material constitutes @ portion of the MercedRiver-20 Zep-adapco CD-adapco training course entitiod “Hydrology & Environmental Hydraulics” ‘and may not be altered, odited or distributed without the consent of the author. ng.08 + Right-click on Regions > Body | “amon 4 > Boundaries > inlet air and == select Edit... , a - Set the boundary conditions as — = indicated in the adjacent cron ao screenshot = . ie esa ] =) Copyright © 2011 CD-adapco. The above material constitutes a portion of the MercedRiver-24 Zep-adapco CD-adapco training course entiled “Hydrology & Environmental Hydraulics” land may not be alterod, edited or distributed without the consent of the author. yee Flow Split Outlet Boundary Conditions + Right-click on Regions > Body 1 > Boundaries > outlet and select Edit... + Set the boundary conditions as indicated in the adjacent screenshot CD-adepco training course entitled “Hydrology & Environmental Hydraulics” aoe & Copyright © 2011 CD-adapco, The above material constitutes a portion of the NercedRiver.22 ‘eD-adapo and may not be altered, ete or distributed without the consent of the author. + Select Solvers > Implicit Unsteady and set the Time Step to1.0s Copyright © 2011 CD-adapco. The above material constitutes a portion of the MorcedRiver-23 CD-adapeo training course entitled “Hydrology & Environmental Hydraulics” 8,08 and may not be altered, edited or distributed without the consent ofthe author. Stopping Criteria « Under Stopping Criteria, set the Maximum Inner Iterations to 12, the Maximum Physical Time to 1200.0 s and uncheck the Enabled box for the Maximum Steps + Create a new stopping criteria for Continuity using the Logical Rule And and the Minimum Limit Value 0.001 = Create new stopping criteria for X-momentum, Y-momentum, Z-momentum using the Logical Rule And and the Minimum Limit Value 0.01 «Create new stopping criteria for the Water phase using the Logical Rule And and the Minimum Limit Value 0.001 & Copyright © 2014 cada MercedRver-24 ZeD-adapco CD-adapco training course entitled “Hydrology & Environmental Hydraulics” ‘and may not be altered, edited or distributed without the consent ofthe author. neice + Right-click on Derived Parts and select New Part > Iso Surface... . Anew derived part named iso has been created + Rename this to free surface + Select Derived Parts > free surface and select Edit... + Set the part properties as shown in the adjacent screenshot eae Ic) Copyright © 2011 CD-adapco. The above material constitutes a portion of the MercedRiver-25 ‘D-adapco —CD-adapco training course entitled “Hydrology & Environmental Hydraulics” fre and may not be altered, edited or distributed without the consent of the author. i Free Surface Scene + Right-click on Scenes and select New Scene > Geometry + Anew scene named Geometry Scene 2 has been created + Rename this to Free surface + Click on the scene/plot tab - Under Displayers > Geometry 1: + Click the Outline and Surface boxes + Click on Parts and select the free surface derived part only + Set the Color Mode to Constant + Click on Color and set the color as desired - Under Displayers > Outline 1: + Check the Outline and Surface boxes + Edit the Parts so that only the wall boundaries are selected (bed, branch and rock) Copyright © 2011 CD-adapco. Tho above material constitutes a portion of the MercedRiver-26 €D-adapco CO-adapco training course entitled "Hydrology & Environmental Hydraulics” and may not be altered, edited or distributed without the consent ofthe author. 6.08 Run Analysis - We are now ready to run the analysis: vw A@eo - The analysis would run for 1200 time steps, but this would take too long to do during the training - In order to look at the results, a completed sim file is provided to you in the COMPLETE subfolder of the workshop folder - Load this sim file and review the results as shown on the next few slides & Copyright © 2011 co-aia Zep-adapeo Co-rdapco taining cours fndmay ot be altered, The above material constitutes a portion of tho ercedRiver-27 ntitled “Hydrology & Environmental Hydraulics” veioal ‘or distributed without the consent of the author. LCSCelU ra Ll ag esiause 109 1 oot Conwy ne ie wasn phase 700 “00 a00 “a0 co 00 700 teraton| Copyright © 2011 CD-adapco. The above material constitutes a portion of the MercedRiver-28 CD-adapco training course entitled “Hydrology & Environmental Hydraulics” 96.06 land may not be altered, edited or distributed without the consent of the author. Free Surface at 1200 sec CD-adapco training course entitled “Hydrology & Environmental Hydraulics” aos Copyright © 2011 CD-adapco, The above material constitutes a portion of tho MercedRiver-29 (CD-adapco ‘and may not be altered, edited or distributed without the consent of the author. Free Surface at 1200 sec MercedRiver-30 CD-adapco 6.06 Sela + The geometry and mesh for flow through the Merced River bed have been created and an analysis has been performed + The following pre-processing features have been demonstrated: - Surface import as parts & region definition - Surface remeshing - Trimmed hexahedral volume mesh generation with prism layers + The analysis used the STAR-CCM+ free surface capability without VOF waves - The results show the (approximately) steady flow in the river bed - The free surface isosurface is uneven due to the coarseness of the mesh - A finer mesh will yield a smoother-looking free surface MetcedRiver-31 (CD-adapco v6.06 Post-Processing of Marine Analyses Copyrishtie 20 gp atecial condebeten a sRaen Of; the Gh-adapee feninin cource a Pydeaer, ane snoatd soeoealtered, Sienitsa witout tne corseamnes - Can choose force or moment reports ~ Specify parts to include Specify direction for forces, axis for moments - Specify reference pressure — important if parts do not specify a closed surface - Specify whether to compute from pressure, shear or both - Create monitors and plots from reports - When monitoring transient simulations, make sure to set Trigger to Time Step Force | Properties on Propeies coordat Syste ‘base =} |orecson 9.90.09 : | rexce orn re Patrons rsere Bs Pots n sume w Bie stceo 2 Er on gieeretieystedtlee yore@ ys MarinePP-2 6.06 Reports: Force & Moment Coefficients . Dimensionless coefficients defined by: LETH (= Deere ets Cp = Gis: L 2 M 3 Pret ect ref) Noe Meets) - Specification similar to forces and moments: ~ Specify parts, direction, pressure and/or shear, and reference pressure - In addition, must specify reference density, area and velocity - Reference radius must also be specified for moment coefficients only + Create monitors and plots from reports Copyright © 2009-2011 CD-adapco. The above material constitutes a portion of MarinePP-3 ‘CD-adapco the CD-adapco training course entitled “Hydrology & Environmental Hydraulics” 6.06 and may not be altered, edited or distributed without the consent of the author. 2 Reports: 6-DOF Body Motion + Translational displacements, velocities & (LSE a SSE accelerations RoG@GS SG >rens VOrew vA ‘Specify body and direction ——— " - i "C00" boy garam + Angular displacements, velocities & accelerations Pa ea Specify body and axis {0069p Angular vecty 00" 80 Foe 2 IRereasion bexly: 00 Bey ines ectten Specify body and direction 6-008 3 Mamert + Choose from three options: oa eueeoae: Raw force: fluid + gravity forces ta (00F ey Tantion Active force: fluid + gravity + external forces eat 00" Bo ety Raw fluid force: fluid force only fad caer + Moments on body 5 Ste weil reeretie + Specify body and axis | a 6-008 Tet Dtnce rea + Choose from two options: iis oe Raw moment: fluid moments only S008) lees + Active moment: fluid + extemal moments aioe Foca ume FoveCoicet Catenary Length, Spring Elongation, etc. Copyright © 2009-2011 CD-adapeo. Tho above material constitutes a portion of | MarinoPP-4 eD-adapeo the CD:adapco training course entitled "Hydrology & Environmental Hydraulics” 66.06 and may not be altered, edited or distributed without the consent of the author. PT a celeow oly Can plot any variable on any boundary surface Useful for plotting the surface pressure on a hull, or visualizing the hull waterline: Copyright © 2009-2011 CO.adapco. The above matorial constitutes a portion of | MaarinePP-5 the CD-adapco training course entitled “Hydrology & Environmental Hydraulics” (CD-adapeo rq may not he altered, edited or distributed without the concent ofthe author, ace 1DYetaN=Ce Mak) STAR-CCM+ allows you to define non-physical parts from existing physical parts These are called derived parts Can be used for post-processing of solution data Derived parts can be used to create even more complex derived parts Examples of derived parts commonly used in marine post-processing are: Iso-surfaces Point and line probes Section planes + Streamlines Many examples of the use of derived parts are provided in the workshop examples LY Copyright © 2009-2011 CD-adapco. The above material constitutes a portion of MarinePP-6 the €D-adapco training course entitied “Hydrology & Environmental Hydraulics” (CD-adapco 4 may not be altered, edited oF distributed without the consent ofthe author. 8,06

Das könnte Ihnen auch gefallen