ycliper

Популярное

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

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

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

Топ запросов

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

Compiling Your Own Custom OpenFOAM Solver, Part 0

Автор: OpenFOAM Tutorials

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

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

Описание: 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

Не удается загрузить Youtube-плеер. Проверьте блокировку Youtube в вашей сети.
Повторяем попытку...
Compiling Your Own Custom OpenFOAM Solver, Part 0

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

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

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

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

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

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

Как взломать любое программное обеспечение

Как взломать любое программное обеспечение

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

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

Basic OpenFOAM Programming Tutorial: Writing a Custom Boundary Condition

Basic OpenFOAM Programming Tutorial: Writing a Custom Boundary Condition

OpenFOAM SnappyHexMesh Tutorial

OpenFOAM SnappyHexMesh Tutorial

Программирование на ассемблере без операционной системы

Программирование на ассемблере без операционной системы

First OpenFOAM Simulation | Lid-driven cavity | [OpenFOAM in Windows 10]

First OpenFOAM Simulation | Lid-driven cavity | [OpenFOAM in Windows 10]

Тимошенко взяли

Тимошенко взяли

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

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

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

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

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

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

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

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

Вашингтон решает: Украина и Гренландия — новые форпосты безопасности Запада /№1079/ Юрий Швец

Вашингтон решает: Украина и Гренландия — новые форпосты безопасности Запада /№1079/ Юрий Швец

Я на КИТАЙСКОМ ЗАВОДЕ ПК КОРПУСОВ

Я на КИТАЙСКОМ ЗАВОДЕ ПК КОРПУСОВ

Путин принял решение о вторжении / Резкое заявление президента

Путин принял решение о вторжении / Резкое заявление президента

FFmpeg: бесплатный видеоконвертер из командной строки

FFmpeg: бесплатный видеоконвертер из командной строки

Conjugate Heat Transfer in OpenFOAM | Basic | chtMultiRegionFoam

Conjugate Heat Transfer in OpenFOAM | Basic | chtMultiRegionFoam

Custom OpenFOAM Solver [1/2] : Adding Temperature to icoFoam #FromBasics

Custom OpenFOAM Solver [1/2] : Adding Temperature to icoFoam #FromBasics

Основы ПЛК: структурированный текст

Основы ПЛК: структурированный текст

Compiling Your Own Custom OpenFOAM Solver: Time Profiling

Compiling Your Own Custom OpenFOAM Solver: Time Profiling

Структура файлов и каталогов в Linux

Структура файлов и каталогов в Linux

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



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



Контакты для правообладателей: [email protected]