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

import a file and solve a new equation

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 21, 2017, 03:48
Default import a file and solve a new equation
  #1
Senior Member
 
A. Min
Join Date: Mar 2015
Posts: 305
Rep Power: 12
alimea is on a distinguished road
Hi all
I want to solve the equation

laplacian(y)=y0
in openFoam in a rectangular domain that y0 is a velocity distribution { u(x,y) }in this domain and I should import it to this solution.
I saw the probelem of

laplacian(y)=0

in tutorial but I have to change it to laplacian(y)=y0.
How can I do that?
How should I import a u(x,y) as a y0?

Thanks
alimea is offline   Reply With Quote

Old   January 23, 2017, 03:52
Default
  #2
Senior Member
 
floquation's Avatar
 
Kevin van As
Join Date: Sep 2014
Location: TU Delft, The Netherlands
Posts: 252
Rep Power: 20
floquation will become famous soon enough
Quick Answer:
Have a look at the utility "mapFields". It seems to be (partially at least) what you need.
floquation is offline   Reply With Quote

Reply

Tags
laplacianfoam, 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
problem during mpi in server: expected Scalar, found on line 0 the word 'nan' muth OpenFOAM Running, Solving & CFD 3 August 27, 2018 04:18
[swak4Foam] Problem installing swak_2.x for OpenFoam-2.4.0 towanda OpenFOAM Community Contributions 6 September 5, 2015 21:03
simpleFoam parallel AndrewMortimer OpenFOAM Running, Solving & CFD 12 August 7, 2015 18:45
OpenFOAM Install Script ljsh OpenFOAM Installation 82 October 12, 2009 11:47


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