CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Programming & Development

new solver

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 7, 2016, 09:17
Default new solver
  #1
New Member
 
xirtam's Avatar
 
Fábio
Join Date: Nov 2016
Posts: 19
Rep Power: 10
xirtam is on a distinguished road
Good morning, I'm new in OpenFOAM and would like to know how to create a new solver for a given equation.

I have researched a lot, but something is wrong.

Thanks in advance!
xirtam is offline   Reply With Quote

Old   November 7, 2016, 12:10
Default
  #2
Senior Member
 
FlyBob91's Avatar
 
Join Date: Mar 2016
Location: Bergamo
Posts: 157
Rep Power: 10
FlyBob91 is on a distinguished road
Hi Fabio
Have you already tried to look at this guide http://openfoamwiki.net/index.php/Ho...ure_to_icoFoam ?

Regards,
Roberto
FlyBob91 is offline   Reply With Quote

Old   November 7, 2016, 13:47
Default Thanks, but i don't solve
  #3
New Member
 
xirtam's Avatar
 
Fábio
Join Date: Nov 2016
Posts: 19
Rep Power: 10
xirtam is on a distinguished road
Thank you for your attention, but it seems that the code or does not solve the equation, or unsaved.

When I open the files solutions appear exactly as in the folder 0.

See the attached image.

I thank you!


Quote:
Originally Posted by FlyBob91 View Post
Hi Fabio
Have you already tried to look at this guide http://openfoamwiki.net/index.php/Ho...ure_to_icoFoam ?

Regards,
Roberto
Attached Images
File Type: png icofoam.PNG (15.4 KB, 19 views)
xirtam is offline   Reply With Quote

Old   November 7, 2016, 14:17
Default richards equation
  #4
New Member
 
xirtam's Avatar
 
Fábio
Join Date: Nov 2016
Posts: 19
Rep Power: 10
xirtam is on a distinguished road
Well, I'm trying to solve the equation that is attached.

All the tutorials I've read, tell me how to add an equation and not creating a scratch solve.


Quote:
Originally Posted by xirtam View Post
Thank you for your attention, but it seems that the code or does not solve the equation, or unsaved.

When I open the files solutions appear exactly as in the folder 0.

See the attached image.

I thank you!
Attached Images
File Type: png richards.PNG (5.5 KB, 9 views)
xirtam is offline   Reply With Quote

Old   November 8, 2016, 06:02
Default
  #5
Senior Member
 
FlyBob91's Avatar
 
Join Date: Mar 2016
Location: Bergamo
Posts: 157
Rep Power: 10
FlyBob91 is on a distinguished road
Did you add your variable in the createFields.H file and tell to OpenFOAM where to write your solution?

Last edited by FlyBob91; November 8, 2016 at 10:11.
FlyBob91 is offline   Reply With Quote

Old   November 8, 2016, 16:06
Default I guess so
  #6
New Member
 
xirtam's Avatar
 
Fábio
Join Date: Nov 2016
Posts: 19
Rep Power: 10
xirtam is on a distinguished road
Hi, I set the variables in create Fields.H, however I just used the runTime.write() function to write the solution.
Where am I sinning?

Quote:
Originally Posted by FlyBob91 View Post
Did you add your variable in the createFields.H file and tell to OpenFOAM where to write your solution?
xirtam is offline   Reply With Quote

Reply

Tags
new solver


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
Fluent Adjoint Solver? ex10148 FLUENT 16 September 28, 2018 09:11
thobois class engineTopoChangerMesh error Peter_600 OpenFOAM 4 August 2, 2014 10:52
Divergence problem Smaras FLUENT 13 February 21, 2013 06:03
3d vof Smaras FLUENT 2 February 19, 2013 07:58
why the solver reject it? Anyone with experience? bearcat CFX 6 April 28, 2008 15:08


All times are GMT -4. The time now is 18:54.