Популярное

Музыка Кино и Анимация Автомобили Животные Спорт Путешествия Игры Юмор

Интересные видео

2025 Сериалы Трейлеры Новости Как сделать Видеоуроки Diy своими руками

Топ запросов

смотреть а4 schoolboy runaway турецкий сериал смотреть мультфильмы эдисон
dTub
Скачать

Compiling Your Own Custom OpenFOAM Solver, Part 0

Автор: OpenFOAM Tutorials

Загружено: 2015-05-04

Просмотров: 32394

Описание:

All code can be found at: https://github.com/lordvon/OpenFOAM_T...

DESCRIPTION:
Here we will take an existing solver, pimpleDyMFoam, and simply rename it and compile it so that OpenFOAM recognizes the newly named solver. This may sound trivial, but making your own solver typically would follow this procedure of copying and existing similar solver and adding modifications. Here, we will simply omit the modifications.
The new solver, mySolver, and the original from which it is copied is contained in the 'solvers' folder.
The tutorial case upon which we will try our new solver comes from the pimpleDyMFoam section of $FOAM_TUTORIALS.

OUTLINE:
-Rename the following files with your new solver name:
-Solver folder
-Solver main source file (.C)
-Application and Source description in the main source file comment header
-Change names in 'Make/files'
-Run 'sudo bash' to become super user. This is necessary because you might get permissions errors when trying to create your new solver executable in $(FOAM_APPBIN) as specified in 'Make/files'.
-Run 'wclean' and 'wmake' in main directory of your new solver.
-Run 'exit' to leave 'sudo bash'.
-Run 'mySolver -help' to show that your new compiled custom solver is recognized!
-Run the tutorial case 'mixerVesselAMI2D' to show that your new solver works! The modifications:
-In controlDict, change 'application pimpleDyMFoam' to 'application mySolver'
-In controlDict, change 'endTime 5' to 'endTime 1' for a shorter run time.

NOTE: we have copied various '.H' files into the main directory of this tutorial because the specification of the includes in 'Make/options' are such that these headers need to be in the directory above the solver main directory (via '-I..'). You can of course change this, but this is how it is in the default pimpleDyMFoam solver included in $FOAM_SOLVERS.

This tutorial was run successfully on:
-Ubuntu 14.04 64-bit
-OpenFOAM 2.3.1

Compiling Your Own Custom OpenFOAM Solver, Part 0

Поделиться в:

Доступные форматы для скачивания:

Скачать видео mp4

  • Информация по загрузке:

Скачать аудио mp3

Похожие видео

Импортируйте любую модель CAD в OpenFOAM за 3 простых шага | Для snappyHexMesh | FreeCAD

Импортируйте любую модель CAD в OpenFOAM за 3 простых шага | Для snappyHexMesh | FreeCAD

Я удалил ';' из C

Я удалил ';' из C

Программирование в OpenFOAM: сложение уравнения энергии. Часть 1.

Программирование в OpenFOAM: сложение уравнения энергии. Часть 1.

How to create your first mesh with cfMesh - tutorial

How to create your first mesh with cfMesh - tutorial

Я ненавижу длинные цепочки If-Elif: этот шаблон проектирования решил эту проблему раз и навсегда

Я ненавижу длинные цепочки If-Elif: этот шаблон проектирования решил эту проблему раз и навсегда

How to modify the library in OpenFOAM.

How to modify the library in OpenFOAM.

RUST: Язык Программирования, Который ЗАМЕНИТ C и C++?

RUST: Язык Программирования, Который ЗАМЕНИТ C и C++?

Прорыв границы / Экстренная переброска военных

Прорыв границы / Экстренная переброска военных

Introductory C++ for OpenFoam Users 1 - Hello World

Introductory C++ for OpenFoam Users 1 - Hello World

Сисадмины больше не нужны? Gemini настраивает Linux сервер и устанавливает cтек N8N. ЭТО ЗАКОННО?

Сисадмины больше не нужны? Gemini настраивает Linux сервер и устанавливает cтек N8N. ЭТО ЗАКОННО?

Typst: Современная замена Word и LaTeX, которую ждали 40 лет

Typst: Современная замена Word и LaTeX, которую ждали 40 лет

Принц Персии: разбираем код гениальной игры, вытирая слезы счастья

Принц Персии: разбираем код гениальной игры, вытирая слезы счастья

Математик, который решил задачу на $1.000.000

Математик, который решил задачу на $1.000.000

Как создать сетку с помощью blockMesh в OpenFOAM — руководство

Как создать сетку с помощью blockMesh в OpenFOAM — руководство

Полное руководство по OpenFOAM — от создания геометрии до постобработки

Полное руководство по OpenFOAM — от создания геометрии до постобработки

2 Phase Simulation in OpenFoam using interFoam

2 Phase Simulation in OpenFoam using interFoam

Учебное пособие по моделированию OpenFoam с использованием Helyx — полный рабочий процесс вычисли...

Учебное пособие по моделированию OpenFoam с использованием Helyx — полный рабочий процесс вычисли...

Compiling Your Own Custom OpenFOAM Solver: Time Profiling

Compiling Your Own Custom OpenFOAM Solver: Time Profiling

The Windows 11 Disaster That's Killing Microsoft

The Windows 11 Disaster That's Killing Microsoft

Basic OpenFOAM Programming Tutorial: Adding Passive Scalar Transport Equation to icoFoam

Basic OpenFOAM Programming Tutorial: Adding Passive Scalar Transport Equation to icoFoam

© 2025 dtub. Все права защищены.



  • Контакты
  • О нас
  • Политика конфиденциальности



Контакты для правообладателей: infodtube@gmail.com