CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > SU2

How to write my own module?

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 6, 2018, 02:23
Default How to write my own module?
  #1
New Member
 
Eugene Sharaborin
Join Date: Sep 2016
Posts: 2
Rep Power: 0
WEugene is on a distinguished road
Hello, dear SU2 lovers!
I would like to implement my own model of resin flow through the fiber reinforcement matrix. So there will be:
1) Navier-Stokes equations (mass, momentum, energy conservations) with specific source terms
2) mass conservation for each species
3) my own equation of state
4) adding divergent terms which take into consideration surface tension

I saw input *.cfg files and understood that I can't add my own equations/terms into an equation.
How I understood I need to change {numerics, solver, variable}_template.cpp files in SU2_CFD/src/, is it right?
Is there any tutorial on how to change correctly these files?
WEugene is offline   Reply With Quote

Reply

Tags
my own module, navier-stokes


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[foam-extend.org] Module file foam-extend 3.2 CentOS cluster KarthickRajkumar OpenFOAM Installation 2 March 26, 2017 13:52
Testing the LES module coupled with the dbnsTurbFoam solver sathya123 OpenFOAM Running, Solving & CFD 6 August 7, 2016 17:06
Conduction and Convection Thermal Analysis of a PV Module firestone9x ANSYS 0 February 19, 2016 08:26
[snappyHexMesh] Debug option in snappy / Write volScalarField with cellLevel for postprocessing Ruli OpenFOAM Meshing & Mesh Conversion 1 March 30, 2014 08:57
Phase locked average in run time panara OpenFOAM 2 February 20, 2008 14:37


All times are GMT -4. The time now is 19:01.