Strong Inequality Hydrodynamics: Flat Cylinder in Water

Click For Summary
SUMMARY

The discussion focuses on the implementation of the "instance_shadowfang_keep" class within the context of hydrodynamics simulations, specifically for a flat cylinder submerged in water. Key elements include the use of the InstanceMapScript from the TrinityCore framework, which facilitates the management of game instances. The script defines four encounters within the Shadowfang Keep, namely Commander Springvale, Baron Ashbury, Baron Silverlaine, and Commander Grimburg. The code snippet provided demonstrates the structure and functionality necessary for creating an interactive environment in a gaming context.

PREREQUISITES
  • Familiarity with C++ programming language
  • Understanding of TrinityCore framework and its scripting capabilities
  • Knowledge of game instance management concepts
  • Basic principles of hydrodynamics and fluid dynamics
NEXT STEPS
  • Explore advanced C++ techniques for game development
  • Research TrinityCore's InstanceMapScript documentation
  • Study fluid dynamics simulations in gaming environments
  • Learn about event-driven programming in game design
USEFUL FOR

Game developers, software engineers working with TrinityCore, and researchers interested in hydrodynamics simulations within interactive environments.

zaevin
Messages
1
Reaction score
0
Homework Statement
So, there's a flat cylinder with radius R and Height H fully submerged in water rn. it's denser than water and its distance from its base to the bottom of the tank is h. I gotta calculate the time taken to sink to the bottom, and gotta ignore viscosity so no drag force or turbulence. BUT, what's bugging me is this inequality-
Relevant Equations
10rho_cylinder h<< rho_water R
20221128_111257.jpg
 
Physics news on Phys.org
/* * Copyright (C) 2011-2012 DarkCore <http://www.darkpeninsula.eu/> * Copyright (C) 2011-2012 Project SkyFire <http://www.projectskyfire.org/> * Copyright (C) 2008-2012 TrinityCore <http://www.trinitycore.org/> * Copyright (C) 2005-2012 MaNGOS <http://getmangos.com/> * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by the * Free Software Foundation; either version 3 of the License, or (at your * option) any later version. * * This program is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for * more details. * * You should have received a copy of the GNU General Public License along * with this program. If not, see <http://www.gnu.org/licenses/>. *//* ScriptDataSDName: Instance_Shadowfang_KeepSD%Complete: 90SDComment:SDCategory: Shadowfang KeepEndScriptData */#include "ScriptPCH.h"#include "shadowfang_keep.h"#define MAX_ENCOUNTER 4/* Shadowfang Keep encounters:0 - Commander Springvale1 - Baron Ashbury2 - Baron Silverlaine3 - Commander Grimburg*/class instance_shadowfang_keep : public InstanceMapScript{public: instance_shadowfang_keep() : InstanceMapScript("instance_shadowfang_keep", 33) { } InstanceScript* GetInstanceScript(InstanceMap* pMap) const { return new instance_shadowfang_keep_InstanceMapScript(pMap); } struct instance_shadowfang_keep_InstanceMapScript : public InstanceScript { instance_shadowfang_keep_InstanceMapScript(Map* pMap) : InstanceScript(p
 

Similar threads

Replies
9
Views
2K
  • · Replies 49 ·
2
Replies
49
Views
5K
Replies
9
Views
2K
Replies
0
Views
2K
Replies
71
Views
6K
  • · Replies 5 ·
Replies
5
Views
1K
Replies
11
Views
3K
  • · Replies 33 ·
2
Replies
33
Views
2K
  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 2 ·
Replies
2
Views
2K